Skip to content

Commit

Permalink
fix: do not treat boolean commands as undefined
Browse files Browse the repository at this point in the history
  • Loading branch information
ZauberNerd committed Feb 12, 2019
1 parent d75212f commit 08d496b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion normalize.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,9 @@ function normalizeArguments(argv) {
? [commands]
: Array.isArray(commands)
? commands
: undefined,
: typeof commands === 'undefined'
? undefined
: [''],
directory,
};
}),
Expand Down

0 comments on commit 08d496b

Please sign in to comment.