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

This reverts commit 09e40d2a8861e2d179137467c9ba938776609a56.
This commit is contained in:
davida-ps
2026-02-16 09:08:17 +00:00
committed by David Abutbul
parent a2bd598557
commit f31e404291
@@ -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).",