-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(config): Separate ENOENT error handler from others
This prevents karma from incorrectly reporting a config file not found error in the case where the code inside the config file throws an ENOENT error for other reasons style(config): indentation, error messages Fix indentation mistake, improve error message, add process.exit(1) test(config): add missing test to ensure proper error reporting when a config file throws an ENOENT error of its own style(config): whitespace and var scope Removed trailing whitespace and moved configSrc declaration outside of the try/catch block
- Loading branch information
Showing
2 changed files
with
22 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters