Skip to content

Commit

Permalink
update file cache per issue with network
Browse files Browse the repository at this point in the history
  • Loading branch information
pboyd04 committed Aug 6, 2019
1 parent 49c6afc commit 157e177
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/cache/fileCache.js
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ FileCache.prototype.getFile = function(uri) {
if(self.localDirs !== null) {
self.getLocalFile(uri, resolve, reject, self);
}
if(self.useNetwork) {
else if(self.useNetwork) {
self.getRemoteFile(uri, resolve, reject, self);
}
});
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": "CSDLParser",
"version": "0.2.3",
"version": "0.2.5",
"description": "CSDL Metadata Parser",
"main": "./index.js",
"scripts": {
Expand Down

0 comments on commit 157e177

Please sign in to comment.