Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitaa57016

Browse files
committed
stringfy the config before saving it
1 parentfde9317 commitaa57016

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)

[8]ページ先頭

©2009-2025 Movatter.jp