Skip to content

Commit f6c80be

Browse files
alan-agius4mgechev
authored andcommitted
fix(@schematics/angular): add non deprecated style as default
When adding default in the application schematics we should use the non deprecated `style` option.
1 parent 13bf1c5 commit f6c80be

File tree

1 file changed

+1
-1
lines changed
  • packages/schematics/angular/application

1 file changed

+1
-1
lines changed

packages/schematics/angular/application/index.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ function addAppToWorkspaceFile(options: ApplicationOptions, workspace: Workspace
172172
(schematics['@schematics/angular:component'] as JsonObject).inlineStyle = true;
173173
}
174174
if (options.style && options.style !== Style.Css) {
175-
(schematics['@schematics/angular:component'] as JsonObject).styleext = options.style;
175+
(schematics['@schematics/angular:component'] as JsonObject).style = options.style;
176176
}
177177
}
178178

0 commit comments

Comments
 (0)