File tree 1 file changed +2
-2
lines changed
packages/angular_devkit/architect_cli/bin
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -208,15 +208,15 @@ async function main(args: string[]): Promise<number> {
208
208
return 3 ;
209
209
}
210
210
211
- const root = dirname ( normalize ( configFilePath ) ) ;
211
+ const root = path . dirname ( configFilePath ) ;
212
212
const configContent = readFileSync ( configFilePath , 'utf-8' ) ;
213
213
const workspaceJson = JSON . parse ( configContent ) ;
214
214
215
215
const registry = new schema . CoreSchemaRegistry ( ) ;
216
216
registry . addPostTransform ( schema . transforms . addUndefinedDefaults ) ;
217
217
218
218
const host = new NodeJsSyncHost ( ) ;
219
- const workspace = new experimental . workspace . Workspace ( root , host ) ;
219
+ const workspace = new experimental . workspace . Workspace ( normalize ( root ) , host ) ;
220
220
221
221
await workspace . loadWorkspaceFromJson ( workspaceJson ) . toPromise ( ) ;
222
222
You can’t perform that action at this time.
0 commit comments