Skip to content

Commit

Permalink
fix: remove unreachable code (jestjs#10201)
Browse files Browse the repository at this point in the history
  • Loading branch information
sauravhiremath authored Jun 25, 2020
1 parent 41c50d1 commit a8129a7
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions packages/jest-core/src/getChangedFilesPromise.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,6 @@ export default (
console.error(chalk.red(`\n\n${message}`));

process.exit(1);

// We do process.exit, so this is dead code
return Promise.reject(e);
});
}

Expand Down

0 comments on commit a8129a7

Please sign in to comment.