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.

(cherry picked from commit 438ee6d)
  • Loading branch information
alan-agius4 authored and dgp1130 committed Jun 2, 2022
1 parent 6e8fe0e commit 73dcf39
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions packages/schematics/angular/application/index.ts
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 73dcf39

Please sign in to comment.