File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ export class Runnable {
1515 private _signal : NodeJS . Signals | null = null ;
1616 private _exitCode : number | null = null ;
1717
18- run ( command : string , timeout ? : number , cwd ?: string , ...args : string [ ] ) {
18+ run ( command : string , timeout : number , cwd ?: string , ...args : string [ ] ) {
1919 this . _process = child_process . spawn ( command , args , { cwd, timeout } ) ;
2020 this . _process . stdout . setEncoding ( 'utf-8' ) ;
2121 this . _process . stderr . setEncoding ( 'utf-8' ) ;
@@ -106,7 +106,7 @@ export async function compile(
106106 context . subscriptions . push ( compilationStatusItem ) ;
107107
108108 const process = new Runnable ( ) ;
109- process . run ( resolvedArgs [ 0 ] , undefined , ...resolvedArgs . slice ( 1 ) ) ;
109+ process . run ( resolvedArgs [ 0 ] , 0 , undefined , ...resolvedArgs . slice ( 1 ) ) ;
110110
111111 let err = '' ;
112112 process . process ?. stderr . on ( 'data' , ( data : string ) => {
You can’t perform that action at this time.
0 commit comments