fix(lint): remove unnecessary escapes in watchdog exec template

This commit is contained in:
davida-ps
2026-02-16 07:50:06 +00:00
committed by David Abutbul
parent bd18f93c4d
commit 21d37e59de
@@ -141,7 +141,7 @@ function buildAgentMessage({ dmChannel, dmTo, hostLabel, installDir, emailTo })
`Email: ${oneline(emailTo)} (sendmail/SMTP fallback)`,
"",
"Execute:",
`- Run via exec: cd \"${safeDir}\" && PROMPTSEC_HOST_LABEL=\"${escapedHostLabel}\" PROMPTSEC_EMAIL_TO=\"${escapedEmail}\" ./scripts/audit-watchdog/runner.sh`,
`- Run via exec: cd "${safeDir}" && PROMPTSEC_HOST_LABEL="${escapedHostLabel}" PROMPTSEC_EMAIL_TO="${escapedEmail}" ./scripts/audit-watchdog/runner.sh`,
"",
"Output requirements:",
"- Print the report to stdout (cron deliver will DM it).",