Skip to content

Commit

Permalink
fix(init): use correct schema reference (#2213)
Browse files Browse the repository at this point in the history
Schema reference of generated config file should point to local schema file.
  • Loading branch information
nicojs committed May 15, 2020
1 parent 7aebac0 commit 136f538
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/core/src/initializer/StrykerConfigWriter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ export default class StrykerConfigWriter {
private async writeJsonConfig(commentedConfig: Partial<StrykerOptions>) {
this.out(`Writing & formatting ${STRYKER_JSON_CONFIG_FILE}...`);
const typedConfig = {
$schema: 'https://unpkg.com/@stryker-mutator/core/schema/stryker-schema.json',
$schema: './node_modules/@stryker-mutator/core/schema/stryker-schema.json',
...commentedConfig,
};
const formattedConfig = this.stringify(typedConfig);
Expand Down

0 comments on commit 136f538

Please sign in to comment.