We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2b239b6 commit cac5c43Copy full SHA for cac5c43
lib/index.js
@@ -101,7 +101,7 @@ var read_config = function(){
101
if (process.argv[i] === '-n' || process.argv[i] === '--no_daemon') config['no_daemon'] = true;
102
if (process.argv[i] === '-h' || process.argv[i] === '--halt_on_change') config['halt_on_change'] = true;
103
else if (process.argv[i] === '-d' || process.argv[i] === '--local_store') {
104
- if (i+1 >= process.argv[length]) {
+ if (i+1 >= process.argv.length) {
105
logger.error("No dir provided with --local_store option");
106
process.exit(3);
107
}
0 commit comments