Skip to content

Commit 84e3f77

Browse files
cexbrayatalan-agius4
authored andcommitted
fix(@schematics/angular): remove empty lines
The recet removal of enableProdMode in 283b564 introduced unnecessary empty lines in main.ts
1 parent 8c3577d commit 84e3f77

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed
Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,13 @@
1-
<% if(!!viewEncapsulation) { %>import { ViewEncapsulation } from '@angular/core';<% }%>
2-
import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';
1+
<% if(!!viewEncapsulation) { %>import { ViewEncapsulation } from '@angular/core';
2+
<% }%>import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';
33

44
import { AppModule } from './app/app.module';
55

66
<% if(!!viewEncapsulation) { %>
77
platformBrowserDynamic().bootstrapModule(AppModule, {
88
defaultEncapsulation: ViewEncapsulation.<%= viewEncapsulation %>
99
})
10-
.catch(err => console.error(err));
11-
<% } else { %>
10+
.catch(err => console.error(err));<% } else { %>
1211
platformBrowserDynamic().bootstrapModule(AppModule)
1312
.catch(err => console.error(err));
14-
<% } %>
13+
<% } %>

0 commit comments

Comments
 (0)