Skip to content

Commit

Permalink
Merge pull request steadyequipment#1 from DKbyo/fix/install
Browse files Browse the repository at this point in the history
Fix install
  • Loading branch information
willhlaw authored Dec 29, 2017
2 parents 156ae70 + 9e0908b commit 05758cc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions build/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ var restoreAccountCredentialsPathParamDescription = 'Google Cloud account creden
var prettyPrintParamKey = 'prettyPrint';
var prettyPrintParamDescription = 'JSON backups done with pretty-printing.';

var version = require('./package.json').version;
var version = require('../package.json').version;

_commander2.default.version(version).option('-a, --' + accountCredentialsPathParamKey + ' <path>', accountCredentialsPathParamDescription).option('-B, --' + backupPathParamKey + ' <path>', backupPathParamDescription).option('-a2, --' + restoreAccountCredentialsPathParamKey + ' <path>', restoreAccountCredentialsPathParamDescription).option('-P, --' + prettyPrintParamKey, prettyPrintParamDescription).parse(_process2.default.argv);

Expand Down Expand Up @@ -173,4 +173,4 @@ accountDb.getCollections().then(function (collections) {
return backupCollection(collection, backupPath + '/' + collection.id, '/');
};
}));
});
});
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"build": "babel -d ./build index.js",
"prepublishOnly": "npm run clean && npm run build"
},
"bin": "./bin/firestore-backup.js",
"bin": "./bin/firestore-backup-restore.js",
"dependencies": {
"babel-cli": "^6.26.0",
"babel-preset-env": "^1.6.1",
Expand Down

0 comments on commit 05758cc

Please sign in to comment.