Skip to content

Commit

Permalink
fix(crwa): use fs.renameSync instead of fs.rename (#9787)
Browse files Browse the repository at this point in the history
  • Loading branch information
jtoar authored and Tobbe committed Jan 1, 2024
1 parent d16b2c6 commit 9a725d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/create-redwood-app/src/create-redwood-app.js
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,7 @@ async function createProjectFiles(appDir, { templateDir, overwrite }) {
fs.copySync(templateDir, newAppDir, { overwrite })

// .gitignore is renamed here to force file inclusion during publishing
fs.rename(
fs.renameSync(
path.join(newAppDir, 'gitignore.template'),
path.join(newAppDir, '.gitignore')
)
Expand Down

0 comments on commit 9a725d0

Please sign in to comment.