mirror of
https://github.com/angular/angular-cli.git
synced 2025-05-17 02:54:21 +08:00
fix(@angular/cli): Fix double setting of the path options for new
fixes #11025
This commit is contained in:
parent
47e558fc87
commit
04893ca343
@ -71,9 +71,6 @@ export default class NewCommand extends SchematicCommand {
|
||||
collectionName = this.parseCollectionName(options);
|
||||
}
|
||||
|
||||
const pathOptions = this.setPathOptions(options, '/');
|
||||
options = { ...options, ...pathOptions };
|
||||
|
||||
const packageJson = require('../package.json');
|
||||
options.version = packageJson.version;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user