Skip to content

Commit 774d349

Browse files
alan-agius4clydin
authored andcommitted
refactor(@angular/cli): remove deprecated path handler
BREAKING CHANGE: The 'path' option in schematics schema no longer has a special meaning. Use 'workingDirectory' smart default provider should be used instead.
1 parent a472d15 commit 774d349

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

packages/angular/cli/src/command-builder/schematics-command-module.ts

-8
Original file line numberDiff line numberDiff line change
@@ -178,14 +178,6 @@ export abstract class SchematicsCommandModule
178178
return options;
179179
}
180180

181-
if (property['format'] === 'path' && !property['$default']) {
182-
(options as Record<string, unknown>)['path'] = workingDir || undefined;
183-
this.context.logger.warn(
184-
`The 'path' option in '${schematic?.schema}' is using deprecated behaviour. ` +
185-
`'workingDirectory' smart default provider should be used instead.`,
186-
);
187-
}
188-
189181
return options;
190182
});
191183

0 commit comments

Comments
 (0)