shellcheck: fix issues in audit.sh #15
No reviewers
Labels
No labels
shellcheck
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
bc1bb/claude-code-audit!15
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "fix-shellcheck-audit-sh"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Fixes #14
Changes
echo "$ref" | sed 's|refs/remotes/origin/||'with parameter expansionecho "${ref#refs/remotes/origin/}".mode_argsandCLAUDE_EXTRA_ARGSto arrays so they expand quoted as"${mode_args[@]}"/"${extra_args[@]}"without losing word splitting where intended.> "$STATE_DIR/${repo_name}.state"with:so the redirection has an explicit no-op command.Verification
bash -n audit.shpasses. Re-run of the shellcheck CI on this branch should now report 0 issues foraudit.sh.