Skip to content

Commit

Permalink
ci: wrong condition
Browse files Browse the repository at this point in the history
Signed-off-by: Kamontat Chantrachirathumrong <14089557+kamontat@users.noreply.github.com>
  • Loading branch information
kamontat committed Dec 23, 2024
1 parent a50419a commit 3dd5f2d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion home/dot_local/bin/executable_verify-chezmoi.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ printf 'zsh: ' && command -v zsh
temp="$(mktemp)"
# shellcheck disable=SC2086
chezmoi status --no-pager --no-tty $CHEZMOI_ARGUMENTS | tee "$temp"
if ! [ -s "$temp" ]; then
if [ -s "$temp" ]; then
printf 'chezmoi should be on the clean state' >&2
exit 2
fi
Expand Down

0 comments on commit 3dd5f2d

Please sign in to comment.