prettier and add type

This commit is contained in:
Bethany
2023-09-06 07:48:50 -07:00
parent ac336c5cf5
commit c43f71bc5f
12 changed files with 92 additions and 59 deletions
+10 -5
View File
@@ -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)