We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
_
1 parent bad24a1 commit c3d1f41Copy full SHA for c3d1f41
packages/angular_devkit/schematics_cli/bin/schematics.ts
@@ -233,7 +233,7 @@ export async function main({
233
/**
234
* Remove every options from argv that we support in schematics itself.
235
*/
236
- const parsedArgs = Object.assign({}, argv);
+ const parsedArgs = Object.assign({}, argv) as Record<string, unknown>;
237
delete parsedArgs['--'];
238
for (const key of booleanArgs) {
239
delete parsedArgs[key];
@@ -259,7 +259,7 @@ export async function main({
259
}
260
});
261
262
- parsedArgs._ = [];
+ delete parsedArgs._;
263
264
// Add prompts.
265
if (argv['interactive'] && isTTY()) {
0 commit comments