Skip to content

Commit

Permalink
Fix linting
Browse files Browse the repository at this point in the history
  • Loading branch information
sherpalabsio committed Feb 15, 2025
1 parent 7fc2282 commit cf37559
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lib/command_palette.sh
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ _sherpa_command_palette() {
if [ -n "$ZSH_VERSION" ]; then
print -z "$selected_command"
else
read -e -p "${PS1@P}" -i "$selected_command" cmd
read -re -p "${PS1@P}" -i "$selected_command" cmd
eval "$cmd"
fi
}
Expand Down
4 changes: 2 additions & 2 deletions tests/features/prune_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ source tests/support/app_helper.sh
_sherpa_trust_dir "project_1"

# == Sanity checks: the permissions files was created
file_count=$(ls local_sherpa_checksums | wc -l | awk '{print $1}')
file_count=$(find local_sherpa_checksums -type f | wc -l | awk '{print $1}')
assert_equal "$file_count" "1"

# ==============================================================================
Expand All @@ -20,6 +20,6 @@ rm -rf project_1

sherpa prune

file_count=$(ls local_sherpa_checksums | wc -l | awk '{print $1}')
file_count=$(find local_sherpa_checksums -type f | wc -l | awk '{print $1}')

assert_equal "$file_count" "0" "The permission file is removed"

0 comments on commit cf37559

Please sign in to comment.