Skip to content

Commit aa57016

Browse files
committed
stringfy the config before saving it
1 parent fde9317 commit aa57016

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/cli.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ export async function cli(args) {
147147

148148
if (config) {
149149
if (options.output) {
150-
fs.writeFileSync(options.output, config, 'utf8');
150+
fs.writeFileSync(options.output, JSON.stringify(config), 'utf8');
151151
}
152152
else {
153153
console.log(JSON.stringify(config, null, 2));

0 commit comments

Comments
 (0)