Skip to content

Commit 46d1888

Browse files
committed
fix(@schematics/angular): consecutive blank lines in routing.module.ts
Fixes: angular#18220
1 parent a8c66c1 commit 46d1888

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/schematics/angular/module/files/__name@dasherize@if-flat__/__name@dasherize__-routing.module.ts.template

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
import { NgModule } from '@angular/core';
22
import { Routes, RouterModule } from '@angular/router';
33
<% if (lazyRoute) { %>
4-
import { <%= classify(name) %>Component } from './<%= dasherize(name) %>.component';<% } %>
5-
4+
import { <%= classify(name) %>Component } from './<%= dasherize(name) %>.component';
5+
<% } %>
66
const routes: Routes = [<% if (lazyRoute) { %>{ path: '', component: <%= classify(name) %>Component }<% } %>];
77

88
@NgModule({

0 commit comments

Comments
 (0)