File tree 1 file changed +3
-3
lines changed
packages/angular_devkit/schematics/tools/workflow
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 5
5
* Use of this source code is governed by an MIT-style license that can be
6
6
* found in the LICENSE file at https://angular.io/license
7
7
*/
8
- import { Path , virtualFs } from '@angular-devkit/core' ;
8
+ import { Path , getSystemPath , virtualFs } from '@angular-devkit/core' ;
9
9
import {
10
10
workflow ,
11
11
} from '@angular-devkit/schematics' ; // tslint:disable-line:no-implicit-dependencies
@@ -42,13 +42,13 @@ export class NodeWorkflow extends workflow.BaseWorkflow {
42
42
{
43
43
allowPackageManagerOverride : true ,
44
44
packageManager : options . packageManager ,
45
- rootDirectory : options . root ,
45
+ rootDirectory : options . root && getSystemPath ( options . root ) ,
46
46
} ,
47
47
) ;
48
48
engineHost . registerTaskExecutor (
49
49
BuiltinTaskExecutor . RepositoryInitializer ,
50
50
{
51
- rootDirectory : options . root ,
51
+ rootDirectory : options . root && getSystemPath ( options . root ) ,
52
52
} ,
53
53
) ;
54
54
engineHost . registerTaskExecutor ( BuiltinTaskExecutor . RunSchematic ) ;
You can’t perform that action at this time.
0 commit comments