Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit ea907d7

Browse files
sacgroverclydin
authored andcommittedJul 15, 2020
fix(@schematics/angular): consecutive blank lines in routing.module.ts
Fixes: #18220 (cherry picked from commit d4198e5)
1 parent e3a94cb commit ea907d7

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

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { NgModule } from '@angular/core';
2-
import { Routes, RouterModule } from '@angular/router';
3-
<% if (lazyRoute) { %>
2+
import { Routes, RouterModule } from '@angular/router';<% if (lazyRoute) { %>
3+
44
import { <%= classify(name) %>Component } from './<%= dasherize(name) %>.component';<% } %>
55

66
const routes: Routes = [<% if (lazyRoute) { %>{ path: '', component: <%= classify(name) %>Component }<% } %>];

0 commit comments

Comments
 (0)
Please sign in to comment.