Skip to content

Commit

Permalink
fix(cli): Fix script detection on Windows (#11)
Browse files Browse the repository at this point in the history
  • Loading branch information
markdalgleish committed Apr 24, 2017
1 parent 0bb74d7 commit 3fafc97
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/args.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
const scriptNameRegex = /scripts\/([\w-]*)\.js$/i;
const scriptNameRegex = /scripts[\/\\]([\w-]*)\.js$/i;
const scriptName = process.argv[1].match(scriptNameRegex)[1];

module.exports = {
Expand Down

0 comments on commit 3fafc97

Please sign in to comment.