File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed
packages/schematics/angular/migrations/update-8 Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -95,14 +95,17 @@ function updateBrowserlist(): Rule {
95
95
}
96
96
97
97
// For all projects
98
- for ( const projectName of Object . keys ( angularJson . projects ) ) {
99
- const project = angularJson . projects [ projectName ] ;
98
+ for ( const [ name , project ] of Object . entries ( angularJson . projects ) ) {
100
99
if ( ! isJsonObject ( project ) ) {
101
100
continue ;
102
101
}
103
102
if ( typeof project . root != 'string' || project . projectType !== 'application' ) {
104
103
continue ;
105
104
}
105
+ if ( name . endsWith ( '-e2e' ) ) {
106
+ // Skip existing separate E2E projects
107
+ continue ;
108
+ }
106
109
107
110
const browserslistPath = join ( normalize ( project . root ) , '/browserslist' ) ;
108
111
const source = tree . read ( browserslistPath ) ;
You can’t perform that action at this time.
0 commit comments