Skip to content

Commit

Permalink
Fix error on missing argument so it works from CLI (#43)
Browse files Browse the repository at this point in the history
  • Loading branch information
OliverJAsh authored and bendrucker committed Jan 5, 2017
1 parent 55d0742 commit d0a2bf1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/exorcist.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ if (!mapfile) {
var url = argv.url || argv.u
, root = argv.root || argv.r
, base = argv.base || argv.b
, errorOnMissing = argv.errorOnMissing || argv.e;
, errorOnMissing = argv.errorOnMissing || argv.e || argv['error-on-missing'];

mapfile = path.resolve(mapfile);

Expand Down

0 comments on commit d0a2bf1

Please sign in to comment.