We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8850c16 commit a8587f4Copy full SHA for a8587f4
1 file changed
lib/index.js
@@ -102,7 +102,7 @@ var read_config = function(){
102
if (process.argv[i] === '-n' || process.argv[i] === '--no_daemon') config['no_daemon'] = true;
103
if (process.argv[i] === '-h' || process.argv[i] === '--halt_on_change') config['halt_on_change'] = true;
104
else if (process.argv[i] === '-d' || process.argv[i] === '--local_store') {
105
- if (i+1 >= process.argv[length]) {
+ if (i+1 >= process.argv.length) {
106
logger.error("No dir provided with --local_store option");
107
process.exit(3);
108
}
0 commit comments