File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -61,7 +61,7 @@ Promise.resolve()
61
61
const script = path . join ( root , 'scripts/build-schema-dts.js' ) ;
62
62
const input = path . join ( root , 'packages/angular-cli/lib/config/schema.json' ) ;
63
63
const output = path . join ( root , 'packages/angular-cli/lib/config/schema.d.ts' ) ;
64
- return npmRun . execSync ( `node ${ script } ${ input } ${ output } ` ) ;
64
+ return npmRun . execSync ( `node " ${ script } " " ${ input } " " ${ output } " ` ) ;
65
65
} )
66
66
. then ( ( ) => console . log ( 'Compiling packages...' ) )
67
67
. then ( ( ) => {
@@ -87,7 +87,7 @@ Promise.resolve()
87
87
return promise . then ( ( ) => {
88
88
console . log ( ` ${ name } ` ) ;
89
89
try {
90
- return npmRun . execSync ( `tsc -p ${ path . relative ( process . cwd ( ) , pkg . root ) } ` ) ;
90
+ return npmRun . execSync ( `tsc -p " ${ path . relative ( process . cwd ( ) , pkg . root ) } " ` ) ;
91
91
} catch ( err ) {
92
92
throw new Error ( `Compilation error.\n${ err . stdout } ` ) ;
93
93
}
You can’t perform that action at this time.
0 commit comments