Skip to content

Commit

Permalink
feat(ConfigReader): Inform about init command (#340)
Browse files Browse the repository at this point in the history
* Inform about `init` command when `stryker.conf.js` could not be found.
  • Loading branch information
korthout authored and nicojs committed Jul 14, 2017
1 parent 78f2d0e commit 7f3e61f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/stryker/src/ConfigReader.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,8 @@ export default class ConfigReader {
} else {
log.fatal('Invalid config file!\n ' + e.stack);
}
log.info('Stryker can help you setup a `stryker.conf` file for your project.');
log.info('Please execute `stryker init` in your project\'s root directory.');
process.exit(1);
}
if (!_.isFunction(configModule)) {
Expand Down

0 comments on commit 7f3e61f

Please sign in to comment.