Skip to content

Commit 5cdd5e1

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 9a3b3ad commit 5cdd5e1

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ function addAppToWorkspaceFile(options: ApplicationOptions, workspace: Workspace
128128
(schematics['@schematics/angular:component'] as JsonObject).inlineStyle = true;
129129
}
130130
if (options.style && options.style !== 'css') {
131-
(schematics['@schematics/angular:component'] as JsonObject).styleext = options.style;
131+
(schematics['@schematics/angular:component'] as JsonObject).style = options.style;
132132
}
133133
}
134134

0 commit comments

Comments
 (0)