Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix: incorrect exitCode when eslint is called with --stdin (fixes esl…
…int#6677) (eslint#6682) Previously exitCode was set at the end of bin/eslint.js but the callback executed for --stdin was asynchronous. The asynchronous callback was setting exitCode after process.exitCode had already been assigned. This removes the exitCode variable and just gets each block to set process.exitCode directly.
- Loading branch information