Skip to content

Commit

Permalink
Remove default signal value in killChildProcess method
Browse files Browse the repository at this point in the history
  • Loading branch information
Ivan Duplenskikh (Akvelon INC) committed Jul 1, 2024
1 parent c99f66e commit 6ca3aca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion node/toolrunner.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1374,7 +1374,7 @@ export class ToolRunner extends events.EventEmitter {
* Used to close child process by sending SIGNINT signal.
* It allows executed script to have some additional logic on SIGINT, before exiting.
*/
public killChildProcess(signal: number | NodeJS.Signals = "SIGINT"): void {
public killChildProcess(signal?: number | NodeJS.Signals): void {
if (this.childProcess) {
this._debug(`[killChildProcess] Signal ${signal} received`);
this.childProcess.kill(signal);
Expand Down

0 comments on commit 6ca3aca

Please sign in to comment.