Skip to content

Commit

Permalink
Fix create-next-app Multiple calls to the function 'makeDir' (#34669)
Browse files Browse the repository at this point in the history
This PR fixes the Fix the create-next-app Multiple calls to the function 'makeDir'.
Currently, no execution errors are generated, but redundant execution exists.

## Bug

- [ ] Related issues linked using `fixes #number`
- [ ] Integration tests added
- [ ] Errors have helpful link attached, see `contributing.md`

## Feature

- [ ] Implements an existing feature request or RFC. Make sure the feature request has been accepted for implementation before opening a PR.
- [ ] Related issues linked using `fixes #number`
- [ ] Integration tests added
- [ ] Documentation added
- [ ] Telemetry added. In case of a feature if it's used or not.
- [ ] Errors have helpful link attached, see `contributing.md`

## Documentation / Examples

- [ ] Make sure the linting passes by running `yarn lint`
  • Loading branch information
luciy committed Feb 23, 2022
1 parent 70cd010 commit c74d765
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion packages/create-next-app/create-app.ts
Expand Up @@ -127,7 +127,6 @@ export async function createApp({
console.log(`Creating a new Next.js app in ${chalk.green(root)}.`)
console.log()

await makeDir(root)
process.chdir(root)

if (example) {
Expand Down

0 comments on commit c74d765

Please sign in to comment.