Skip to content

Commit

Permalink
Fix CLI notify option not taking precedence over config option. (je…
Browse files Browse the repository at this point in the history
…stjs#3340)

issue#3335
  • Loading branch information
liubinyi authored and cpojer committed Apr 21, 2017
1 parent 2f44e89 commit 6f47aa3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/jest-config/src/setFromArgv.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ function setFromArgv(config, argv) {
config.verbose = argv.verbose;
}

if (argv.notify) {
if (argv.notify !== null) {
config.notify = argv.notify;
}

Expand Down

0 comments on commit 6f47aa3

Please sign in to comment.