Skip to content
Permalink
Browse files

Fixing a reference.

  • Loading branch information...
Snipa22 committed May 20, 2017
1 parent d618eec commit ccc23c40c7435603574490575f76d774f640c542
Showing with 2 additions and 1 deletion.
  1. +2 −1 tools/blocks.js
@@ -1,6 +1,7 @@
const valid_actions = ['finder', 'stats', 'list'];
let error = 0;
if (!global.argv.hasOwnProperty('action') || !valid_actions.hasOwnProperty(global.argv.action)) {

if (!global.argv.hasOwnProperty('action') || valid_actions.indexOf(global.argv.action) === -1) {
console.error("No action provided to block module.");
console.error("Valid actions: " + valid_actions.join(', '));
}

0 comments on commit ccc23c4

Please sign in to comment.
You can’t perform that action at this time.