mirror of
https://github.com/prompt-security/clawsec.git
synced 2026-06-16 15:01:22 +03:00
fix(lint): remove unnecessary escapes in watchdog exec template
This commit is contained in:
@@ -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).",
|
||||
|
||||
Reference in New Issue
Block a user