Skip to content

Commit

Permalink
Fix a typo in lint.sh mentioning shellcheck instead of swiftlint (#1949)
Browse files Browse the repository at this point in the history
  • Loading branch information
ayoy authored Dec 11, 2023
1 parent 01a3a13 commit 259cb65
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ fi

# Add brew into PATH
if [[ -f /opt/homebrew/bin/brew ]]; then
eval $(/opt/homebrew/bin/brew shellenv)
eval "$(/opt/homebrew/bin/brew shellenv)"
fi

run_swiftlint_for_modified_files () {
Expand Down Expand Up @@ -50,7 +50,7 @@ run_swiftlint_for_modified_files () {
fi
}

if ! command -v shellcheck &> /dev/null; then
if ! command -v swiftlint &> /dev/null; then
echo "error: SwiftLint not installed. Install using \`brew install swiftlint\`"
exit 1
fi
Expand Down

0 comments on commit 259cb65

Please sign in to comment.