Skip to content

Commit

Permalink
fix(@schematics/angular): consecutive blank lines in routing.module.ts
Browse files Browse the repository at this point in the history
Fixes: #18220
(cherry picked from commit d4198e5)
  • Loading branch information
sacgrover authored and clydin committed Jul 15, 2020
1 parent e3a94cb commit ea907d7
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { NgModule } from '@angular/core';
import { Routes, RouterModule } from '@angular/router';
<% if (lazyRoute) { %>
import { Routes, RouterModule } from '@angular/router';<% if (lazyRoute) { %>

import { <%= classify(name) %>Component } from './<%= dasherize(name) %>.component';<% } %>

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

0 comments on commit ea907d7

Please sign in to comment.