File tree Expand file tree Collapse file tree
angular_devkit/architect_cli/bin Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -42,6 +42,7 @@ export abstract class ArchitectCommand<
4242
4343 this . _registry = new json . schema . CoreSchemaRegistry ( ) ;
4444 this . _registry . addPostTransform ( json . schema . transforms . addUndefinedDefaults ) ;
45+ this . _registry . useXDeprecatedProvider ( msg => this . logger . warn ( msg ) ) ;
4546
4647 const { workspace } = await workspaces . readWorkspace (
4748 this . workspace . root ,
Original file line number Diff line number Diff line change @@ -202,6 +202,9 @@ async function main(args: string[]): Promise<number> {
202202 const registry = new schema.CoreSchemaRegistry();
203203 registry.addPostTransform(schema.transforms.addUndefinedDefaults);
204204
205+ // Show usage of deprecated options
206+ registry.useXDeprecatedProvider(msg => logger.warn(msg));
207+
205208 const { workspace } = await workspaces.readWorkspace(
206209 configFilePath,
207210 workspaces.createWorkspaceHost(new NodeJsSyncHost()),
You can’t perform that action at this time.
0 commit comments