mirror of
https://github.com/angular/angular-cli.git
synced 2025-05-14 01:08:29 +08:00
fix(@schematics/angular): use proper project root for e2e
When creating an application, the project root was always "projects/e2e". This is undesired as it leads to conflicts when creating another app. Fix #12491.
This commit is contained in:
parent
90e69805b2
commit
d1b6e71b35
@ -279,7 +279,7 @@ export default function (options: ApplicationOptions): Rule {
|
||||
name: `${options.name}-e2e`,
|
||||
relatedAppName: options.name,
|
||||
rootSelector: appRootSelector,
|
||||
projectRoot: newProjectRoot ? `${newProjectRoot}/e2e` : 'e2e',
|
||||
projectRoot: newProjectRoot ? `${newProjectRoot}/${options.name}-e2e` : 'e2e',
|
||||
};
|
||||
|
||||
return chain([
|
||||
|
Loading…
x
Reference in New Issue
Block a user