BUGFIX: spawn() log reads "seconds" instead of "milliseconds" (#1158)

This commit is contained in:
FoGsesipod 2024-03-11 18:25:02 -04:00 committed by GitHub
parent 0457081908
commit 25ac8432fc
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -745,7 +745,7 @@ export const ns: InternalAPI<NSFull> = {
return runScriptFromScript("spawn", scriptServer, path, args, ctx.workerScript, runOpts);
}, runOpts.spawnDelay);
helpers.log(ctx, () => `Will execute '${path}' in ${runOpts.spawnDelay} seconds`);
helpers.log(ctx, () => `Will execute '${path}' in ${runOpts.spawnDelay} milliseconds`);
if (killWorkerScript(ctx.workerScript)) {
helpers.log(ctx, () => "Exiting...");