Skip to content

Commit

Permalink
Fixed a null pointer exception
Browse files Browse the repository at this point in the history
  • Loading branch information
Uri Berman authored and Uri Berman committed Sep 17, 2018
1 parent 8850c16 commit a8587f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ var read_config = function(){
if (process.argv[i] === '-n' || process.argv[i] === '--no_daemon') config['no_daemon'] = true;
if (process.argv[i] === '-h' || process.argv[i] === '--halt_on_change') config['halt_on_change'] = true;
else if (process.argv[i] === '-d' || process.argv[i] === '--local_store') {
if (i+1 >= process.argv[length]) {
if (i+1 >= process.argv.length) {
logger.error("No dir provided with --local_store option");
process.exit(3);
}
Expand Down

0 comments on commit a8587f4

Please sign in to comment.