ng new --viewEncapsulation Native|None|ShadowDom generates invalid code #13742
Labels
area: @schematics/angular
freq1: low
Only reported by a handful of users who observe it rarely
severity5: regression
type: bug/fix
Milestone
🐞 Bug report
Command (mark with an
x
)Is this a regression?
Yes, the previous version in which this bug was not present was: 7.3.2
Description
The fix for #13689 now generates a second comma between
styleUrls
andencapsulation
. The comma behindstyleUrls
is now also present if the flag--viewEncapsulation
is not set at all andstyleUrls
is the last property.🔬 Minimal Reproduction
ng new view-test --skipGit --skipInstall --viewEncapsulation None
ng new view-test --skipGit --skipInstall
🔥 Exception or Error
🌍 Your Environment
The text was updated successfully, but these errors were encountered: