Skip to content

Commit

Permalink
fix(angular): delete src and e2e folders after transitioning to Nx fr…
Browse files Browse the repository at this point in the history
…om Angular

ISSUES CLOSED: nrwl#3944
  • Loading branch information
katerina committed Oct 29, 2020
1 parent 1849e6b commit f332585
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/workspace/src/schematics/init/init.ts
Original file line number Diff line number Diff line change
Expand Up @@ -437,6 +437,7 @@ function moveExistingFiles(options: Schema) {
context.logger.info(
`Renamed ${oldAppSourceRoot} -> ${newAppSourceRoot}`
);
host.delete(oldAppSourceRoot);
} else {
context.logger.error(err);
throw err;
Expand All @@ -457,6 +458,7 @@ function moveExistingFiles(options: Schema) {
throw err;
}
});
host.delete(oldE2eRoot);
} else {
context.logger.warn(
'No e2e project was migrated because there was none declared in angular.json'
Expand Down

0 comments on commit f332585

Please sign in to comment.