fix(schematics): drag-drop schematic two consecutive commas (#14446)

Similar to https://github.com/angular/material2/commit/dd6065cec47647980291bd2c24067cdc71966f33#diff-0971fc26ab0589f93c1344ce29da61e4, we should also fix the issue for the drag-drop schematic.
This commit is contained in:
Paul Gschwendtner
2018-12-14 01:55:05 +01:00
committed by vivian-hu
parent e44cc52215
commit 35fd998a08
@@ -11,8 +11,8 @@ import { CdkDragDrop, moveItemInArray, transferArrayItem } from '@angular/cdk/dr
<%= indentTextContent(resolvedFiles.stylesheet, 4) %>
`],<% } else { %>
styleUrls: ['./<%= dasherize(name) %>.component.<%= styleext %>'],<% } %><% if(!!viewEncapsulation) { %>
encapsulation: ViewEncapsulation.<%= viewEncapsulation %><% } if (changeDetection !== 'Default') { %>,
changeDetection: ChangeDetectionStrategy.<%= changeDetection %><% } %>
encapsulation: ViewEncapsulation.<%= viewEncapsulation %>,<% } if (changeDetection !== 'Default') { %>
changeDetection: ChangeDetectionStrategy.<%= changeDetection %>,<% } %>
})
export class <%= classify(name) %>Component {
todo = [