Skip to content

Commit

Permalink
Improved fileIndex caching...
Browse files Browse the repository at this point in the history
  • Loading branch information
apnex committed Aug 13, 2018
1 parent 1fed3c2 commit a8dc595
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/getFile.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ self.get = async function(productGroup, fileName) {
});

//data load?
let index = require(stateDir + '/fileIndex.json');
let index = require(filesDir + '/fileIndex.json');
let fileNode = index[productGroup]['files'][fileName];

//obtain fileNode
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "vmw-cli",
"version": "1.0.10",
"version": "1.0.12",
"description": "CLI interface for my.vmware.com",
"license": "MIT",
"repository": "apnex/vmw-cli",
Expand Down

0 comments on commit a8dc595

Please sign in to comment.