Skip to content

Commit

Permalink
fix: removal of the outdated templates must not fail
Browse files Browse the repository at this point in the history
  • Loading branch information
petermuessig committed Jun 20, 2023
1 parent bb27b2f commit 667673d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion generators/app/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -578,7 +578,7 @@ export default class extends Generator {
}
// remove if the SHA marker doesn't exist => outdated!
this._showBusy(` Deleting subgenerator ${chalk.yellow(generator.name)}...`);
await rm(generatorPath, { recursive: true });
fs.rmSync(generatorPath, { recursive: true });
}
}

Expand Down

0 comments on commit 667673d

Please sign in to comment.