Skip to content

Commit cc4abdd

Browse files
ahasallvikerman
authored andcommitted
refactor(@schematics/angular): remove hardcoded value of newProjectRoot (#15925)
the default value of `newProjectRoot` is already defined in the schema
1 parent 70e460d commit cc4abdd

File tree

1 file changed

+1
-1
lines changed
  • packages/schematics/angular/ng-new

1 file changed

+1
-1
lines changed

packages/schematics/angular/ng-new/index.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ export default function (options: NgNewOptions): Rule {
4040
const workspaceOptions: WorkspaceOptions = {
4141
name: options.name,
4242
version: options.version,
43-
newProjectRoot: options.newProjectRoot || 'projects',
43+
newProjectRoot: options.newProjectRoot,
4444
minimal: options.minimal,
4545
strict: options.strict,
4646
};

0 commit comments

Comments
 (0)