Skip to content

Commit

Permalink
Fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
deniscostadsc committed Mar 19, 2024
1 parent 75ce346 commit 224dc76
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion roles/git/files/git/hooks/post-checkout.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

git_root_dir=$(git rev-parse --show-toplevel)

if ! compgen -G "${git_root_dir}"/.git/hooks/post-checkout-* > /dev/null; then
if ! compgen -G "${git_root_dir}"/.git/hooks/post-checkout-* >/dev/null; then
exit 0
fi

Expand Down
2 changes: 1 addition & 1 deletion roles/git/files/git/hooks/pre-commit.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

git_root_dir=$(git rev-parse --show-toplevel)

if ! compgen -G "${git_root_dir}"/.git/hooks/pre-commit-* > /dev/null; then
if ! compgen -G "${git_root_dir}"/.git/hooks/pre-commit-* >/dev/null; then
exit 0
fi

Expand Down

0 comments on commit 224dc76

Please sign in to comment.