Skip to content

Commit

Permalink
refactor(@schematics/angular): remove hardcoded value of `newProjectR…
Browse files Browse the repository at this point in the history
…oot` (#15925)

the default value of `newProjectRoot` is already defined in the schema
  • Loading branch information
ahasall authored and vikerman committed Oct 23, 2019
1 parent 70e460d commit cc4abdd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/schematics/angular/ng-new/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ export default function (options: NgNewOptions): Rule {
const workspaceOptions: WorkspaceOptions = {
name: options.name,
version: options.version,
newProjectRoot: options.newProjectRoot || 'projects',
newProjectRoot: options.newProjectRoot,
minimal: options.minimal,
strict: options.strict,
};
Expand Down

0 comments on commit cc4abdd

Please sign in to comment.