File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
packages/angular_devkit/schematics/tools/workflow Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 55 * Use of this source code is governed by an MIT-style license that can be
66 * found in the LICENSE file at https://angular.io/license
77 */
8- import { Path , virtualFs } from '@angular-devkit/core' ;
8+ import { Path , getSystemPath , virtualFs } from '@angular-devkit/core' ;
99import {
1010 workflow ,
1111} from '@angular-devkit/schematics' ; // tslint:disable-line:no-implicit-dependencies
@@ -42,13 +42,13 @@ export class NodeWorkflow extends workflow.BaseWorkflow {
4242 {
4343 allowPackageManagerOverride : true ,
4444 packageManager : options . packageManager ,
45- rootDirectory : options . root ,
45+ rootDirectory : options . root && getSystemPath ( options . root ) ,
4646 } ,
4747 ) ;
4848 engineHost . registerTaskExecutor (
4949 BuiltinTaskExecutor . RepositoryInitializer ,
5050 {
51- rootDirectory : options . root ,
51+ rootDirectory : options . root && getSystemPath ( options . root ) ,
5252 } ,
5353 ) ;
5454 engineHost . registerTaskExecutor ( BuiltinTaskExecutor . RunSchematic ) ;
You can’t perform that action at this time.
0 commit comments