Skip to content

Commit

Permalink
Mistake in code
Browse files Browse the repository at this point in the history
  • Loading branch information
Aftabnack committed Feb 13, 2018
1 parent 2615c7c commit 8eac9ce
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/jest-validate/src/validate_cli_options.js
Original file line number Diff line number Diff line change
Expand Up @@ -84,9 +84,9 @@ export default function validateCLIOptions(argv: Argv, options: Object) {
(acc, entry) => {
if (options[entry]) {
acc[entry] = deprecationEntries[entry];
}
if (options[entry].alias) {
acc[options[entry].alias] = deprecationEntries[entry];
if (options[entry].alias) {
acc[options[entry].alias] = deprecationEntries[entry];
}
}
return acc;
},
Expand Down

0 comments on commit 8eac9ce

Please sign in to comment.