Skip to content

Commit

Permalink
fix(@schematics/angular): remove empty lines
Browse files Browse the repository at this point in the history
The recet removal of enableProdMode in 283b564 introduced unnecessary empty lines in main.ts
  • Loading branch information
cexbrayat authored and alan-agius4 committed Sep 29, 2022
1 parent 8c3577d commit 84e3f77
Showing 1 changed file with 4 additions and 5 deletions.
@@ -1,14 +1,13 @@
<% if(!!viewEncapsulation) { %>import { ViewEncapsulation } from '@angular/core';<% }%>
import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';
<% if(!!viewEncapsulation) { %>import { ViewEncapsulation } from '@angular/core';
<% }%>import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';

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

<% if(!!viewEncapsulation) { %>
platformBrowserDynamic().bootstrapModule(AppModule, {
defaultEncapsulation: ViewEncapsulation.<%= viewEncapsulation %>
})
.catch(err => console.error(err));
<% } else { %>
.catch(err => console.error(err));<% } else { %>
platformBrowserDynamic().bootstrapModule(AppModule)
.catch(err => console.error(err));
<% } %>
<% } %>

0 comments on commit 84e3f77

Please sign in to comment.