Skip to content

Commit

Permalink
fix(frontend): fix styles default
Browse files Browse the repository at this point in the history
  • Loading branch information
xmlking authored and FrozenPandaz committed May 25, 2019
1 parent 92b71d3 commit d757a69
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/angular/src/schematics/library/library.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -732,7 +732,7 @@ describe('lib', () => {
const angularJson = readJsonInTree(result, 'angular.json');

expect(angularJson.projects['my-lib'].schematics).toEqual({
'@nrwl/workspace:component': {
'@nrwl/angular:component': {
styleext: 'scss'
}
});
Expand Down
2 changes: 1 addition & 1 deletion packages/angular/src/schematics/library/library.ts
Original file line number Diff line number Diff line change
Expand Up @@ -318,7 +318,7 @@ function updateProject(options: NormalizedSchema): Rule {
if (options.style !== 'css') {
fixedProject.schematics = {
...fixedProject.schematics,
'@nrwl/workspace:component': {
'@nrwl/angular:component': {
styleext: options.style
}
};
Expand Down

0 comments on commit d757a69

Please sign in to comment.