fix(@angular/cli): Fix double setting of the path options for new

fixes #11025
This commit is contained in:
Mike Brocchi 2018-05-31 21:53:04 -04:00 committed by Filipe Silva
parent 47e558fc87
commit 04893ca343

View File

@ -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;