Skip to content

Commit a8be52b

Browse files
mjesuncpojer
authored andcommitted
Remove existing throw (#4417)
1 parent be4bec3 commit a8be52b

1 file changed

Lines changed: 0 additions & 8 deletions

File tree

packages/jest-cli/src/cli/args.js

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -21,14 +21,6 @@ const check = (argv: Argv) => {
2121
);
2222
}
2323

24-
if (argv.onlyChanged && argv._.length > 0) {
25-
throw new Error(
26-
'Both --onlyChanged and a path pattern were specified, but these ' +
27-
'two options do not make sense together. Which is it? Do you want ' +
28-
'to run tests for changed files? Or for a specific set of files?',
29-
);
30-
}
31-
3224
if (argv.onlyChanged && argv.watchAll) {
3325
throw new Error(
3426
'Both --onlyChanged and --watchAll were specified, but these two ' +

0 commit comments

Comments
 (0)