Skip to content

Commit

Permalink
fix(@schematics/angular): remove strict setting under application pro…
Browse files Browse the repository at this point in the history
…ject

This setting is redundant under an application project since an application cannot be created under another application.
  • Loading branch information
alan-agius4 authored and dgp1130 committed Jun 2, 2022
1 parent 9301699 commit 438ee6d
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions packages/schematics/angular/application/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -112,14 +112,6 @@ function addAppToWorkspaceFile(
});
}

if (options.strict) {
if (!('@schematics/angular:application' in schematics)) {
schematics['@schematics/angular:application'] = {};
}

(schematics['@schematics/angular:application'] as JsonObject).strict = true;
}

const sourceRoot = join(normalize(projectRoot), 'src');
let budgets = [];
if (options.strict) {
Expand Down

0 comments on commit 438ee6d

Please sign in to comment.