Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
ljacobsson committed Mar 3, 2021
1 parent 8e8f29a commit 133e801
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ program
console.log(filenameSplit);
fs.writeFileSync(
`${filenameSplit.join(".")}.sub.${extension}`,
JSON.stringify(subTemplate, null, 2)
templateFormat === "json" ? JSON.stringify(subTemplate, null, 2) : YAML.stringify(subTemplate)
);
});

Expand Down

0 comments on commit 133e801

Please sign in to comment.