mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-06 17:00:50 +00:00
refactor: hide script helper internals
This commit is contained in:
@@ -16,7 +16,7 @@ export function signalExitCode(signal) {
|
||||
* @param {import("node:child_process").ChildProcess} child
|
||||
* @param {NodeJS.Signals} [signal]
|
||||
*/
|
||||
export function terminateManagedChild(child, signal = "SIGTERM") {
|
||||
function terminateManagedChild(child, signal = "SIGTERM") {
|
||||
if (!child.pid) {
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user