From 610719f580c08806fc7525ea001bbc2c7532fa8f Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Sat, 22 Nov 2025 03:44:15 +0000 Subject: [PATCH] Improve comment clarity in makeCommand Co-authored-by: whyour <22700758+whyour@users.noreply.github.com> --- back/services/cron.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/back/services/cron.ts b/back/services/cron.ts index 8ed21ddd..77af09e9 100644 --- a/back/services/cron.ts +++ b/back/services/cron.ts @@ -642,7 +642,7 @@ export default class CronService { command = `${TASK_PREFIX}${tab.command}`; } let commandVariable = `real_time=${Boolean(realTime)} `; - // Only include log_name if it has a value, shell will handle empty case automatically + // Only include log_name if it has a truthy value to avoid passing null/undefined to shell if (tab.log_name) { commandVariable += `log_name=${tab.log_name} `; }