We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5f59996 commit aa3b352Copy full SHA for aa3b352
src/commands/init.ts
@@ -33,5 +33,5 @@ export default async () => {
33
};
34
35
const file = response.configFormat === 'json' ? JSON.stringify(config, null, 2) : YAML.stringify(config);
36
- return writeFile(`.sapphirerc.${response.configFormat}`, file);
+ return writeFile(packageJson.replace('package.json', `.sapphirerc.${response.configFormat}`), file);
37
0 commit comments