Skip to content
This repository has been archived by the owner on Dec 10, 2024. It is now read-only.

Commit

Permalink
fix: issue with writing download template files
Browse files Browse the repository at this point in the history
  • Loading branch information
productdevbook committed Jan 17, 2024
1 parent 395e711 commit 99c8a87
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ export function addDownloadTemplate(
...value,
}, null, 2)}`

writeFileSync(resolve(nuxt._pergel.templateDir, `${key}.json`), content, {
nuxt._pergel.exitPergelFolder && writeFileSync(resolve(nuxt._pergel.templateDir, `${key}.json`), content, {
encoding: 'utf-8',
})
if (input.readme && input.readme.projectName) {
Expand Down

0 comments on commit 99c8a87

Please sign in to comment.