prettier and add type
This commit is contained in:
@@ -267,7 +267,10 @@ export class ToolRunner extends events.EventEmitter {
|
||||
}
|
||||
|
||||
reverse += '"'
|
||||
return reverse.split('').reverse().join('')
|
||||
return reverse
|
||||
.split('')
|
||||
.reverse()
|
||||
.join('')
|
||||
}
|
||||
|
||||
private _uvQuoteCmdArg(arg: string): string {
|
||||
@@ -347,7 +350,10 @@ export class ToolRunner extends events.EventEmitter {
|
||||
}
|
||||
|
||||
reverse += '"'
|
||||
return reverse.split('').reverse().join('')
|
||||
return reverse
|
||||
.split('')
|
||||
.reverse()
|
||||
.join('')
|
||||
}
|
||||
|
||||
private _cloneExecOptions(options?: im.ExecOptions): im.ExecOptions {
|
||||
@@ -685,9 +691,8 @@ class ExecState extends events.EventEmitter {
|
||||
}
|
||||
|
||||
if (!state.processClosed && state.processExited) {
|
||||
const message = `The STDIO streams did not close within ${
|
||||
state.delay / 1000
|
||||
} seconds of the exit event from process '${
|
||||
const message = `The STDIO streams did not close within ${state.delay /
|
||||
1000} seconds of the exit event from process '${
|
||||
state.toolPath
|
||||
}'. This may indicate a child process inherited the STDIO streams and has not yet exited.`
|
||||
state._debug(message)
|
||||
|
||||
Reference in New Issue
Block a user