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 @@ -88,14 +88,17 @@ function updateBrowserlist(): Rule {
8888 }
8989
9090 // For all projects
91- for ( const projectName of Object . keys ( angularJson . projects ) ) {
92- const project = angularJson . projects [ projectName ] ;
91+ for ( const [ name , project ] of Object . entries ( angularJson . projects ) ) {
9392 if ( ! isJsonObject ( project ) ) {
9493 continue ;
9594 }
9695 if ( typeof project . root != 'string' || project . projectType !== 'application' ) {
9796 continue ;
9897 }
98+ if ( name . endsWith ( '-e2e' ) ) {
99+ // Skip existing separate E2E projects
100+ continue ;
101+ }
99102
100103 const browserslistPath = join ( normalize ( project . root ) , '/browserslist' ) ;
101104 const source = tree . read ( browserslistPath ) ;
You can’t perform that action at this time.
0 commit comments