Skip to content
Prev Previous commit
Next Next commit
modify check_unstaged
  • Loading branch information
Kira-Pilot committed Jan 26, 2023
commit bcd67a21d5af6cc728475d92480bad9ba9b2c801
2 changes: 1 addition & 1 deletion scripts/check_unstaged.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ set -euo pipefail
source "$(dirname "${BASH_SOURCE[0]}")/lib.sh"
cdroot

FILES="$(git ls-files --other --modified --exclude-standard --exclude=“scripts/auditdocgen/main.go)"
FILES="$(git ls-files --other --modified --exclude-standard -- 'scripts/auditdocgen/main.go')"
if [[ "$FILES" != "" ]]; then
mapfile -t files <<<"$FILES"

Expand Down