Development record
The shell guard reads a syntax check of a script, bash -n <file>, as running it: abcd guard check --command 'bash -n .githooks/commit-msg' judges the hook's every line as a run would, and refused the check outright once one line of the hook read as a hazard (script-runs-hazard), though bash -n executes nothing.
issueresolvedminoriss-2610262219309883
The shell guard reads a syntax check of a script, bash -n <file>, as running it: abcd guard check --command 'bash -n .githooks/commit-msg' judges the hook's every line as a run would, and refused the check outright once one line of the hook read as a hazard (script-runs-hazard), though bash -n executes nothing.
Frontmatter
| id | iss-2610262219309883 |
|---|---|
| type | issue |
| lifecycle | resolved |
| severity | minor |
.abcd/work/issues/resolved/iss-2610262219309883-the-shell-guard-reads-a-syntax-check-of.md
open on GitHub ↗ · commit history ↗