Skip to content

Commit 73dcf39

Browse files
alan-agius4dgp1130
authored andcommitted
fix(@schematics/angular): remove strict setting under application project
This setting is redundant under an application project since an application cannot be created under another application. (cherry picked from commit 438ee6d)
1 parent 6e8fe0e commit 73dcf39

File tree

1 file changed

+0
-8
lines changed
  • packages/schematics/angular/application

1 file changed

+0
-8
lines changed

packages/schematics/angular/application/index.ts

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -112,14 +112,6 @@ function addAppToWorkspaceFile(
112112
});
113113
}
114114

115-
if (options.strict) {
116-
if (!('@schematics/angular:application' in schematics)) {
117-
schematics['@schematics/angular:application'] = {};
118-
}
119-
120-
(schematics['@schematics/angular:application'] as JsonObject).strict = true;
121-
}
122-
123115
const sourceRoot = join(normalize(projectRoot), 'src');
124116
let budgets = [];
125117
if (options.strict) {

0 commit comments

Comments
 (0)