Skip to content

Commit

Permalink
Fix linting errors
Browse files Browse the repository at this point in the history
  • Loading branch information
ferrarimarco committed Nov 29, 2023
1 parent 868da35 commit a6e9a0c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .shells/.all/functions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,7 @@ is_wsl() {

is_git_detached_head() {
repository_dir="$1"
if [ "$(git -C ${repository_dir} rev-parse --abbrev-ref --symbolic-full-name HEAD)" = "HEAD" ]; then
if [ "$(git -C "${repository_dir}" rev-parse --abbrev-ref --symbolic-full-name HEAD)" = "HEAD" ]; then
return 0
else
return 1
Expand Down

0 comments on commit a6e9a0c

Please sign in to comment.