We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a2c5be9 commit 0b46850Copy full SHA for 0b46850
1 file changed
packages/create-react-app/index.js
@@ -212,6 +212,7 @@ function run(root, appName, version, verbose, originalDirectory, template) {
212
if (!remainingFiles.length) {
213
// Delete target folder if empty
214
console.log('Deleting', chalk.cyan(appName + '/'), 'from', chalk.cyan(path.resolve(root, '..')));
215
+ process.chdir(path.resolve(root, '..'));
216
fs.removeSync(path.join(root));
217
}
218
console.log('Done.');
0 commit comments