Skip to content

Commit

Permalink
refactor(@angular/cli): remove deprecated path handler
Browse files Browse the repository at this point in the history
BREAKING CHANGE: The 'path' option in schematics schema no longer has a special meaning. Use 'workingDirectory' smart default provider should be used instead.
  • Loading branch information
alan-agius4 authored and clydin committed Aug 30, 2022
1 parent a472d15 commit 774d349
Showing 1 changed file with 0 additions and 8 deletions.
Expand Up @@ -178,14 +178,6 @@ export abstract class SchematicsCommandModule
return options;
}

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

return options;
});

Expand Down

0 comments on commit 774d349

Please sign in to comment.