Skip to content
This repository was archived by the owner on Feb 24, 2025. It is now read-only.

Commit 259cb65

Browse files
authored
Fix a typo in lint.sh mentioning shellcheck instead of swiftlint (#1949)
Task/Issue URL: https://app.asana.com/0/1199230911884351/1206052939549077/f
1 parent 01a3a13 commit 259cb65

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lint.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ fi
1313

1414
# Add brew into PATH
1515
if [[ -f /opt/homebrew/bin/brew ]]; then
16-
eval $(/opt/homebrew/bin/brew shellenv)
16+
eval "$(/opt/homebrew/bin/brew shellenv)"
1717
fi
1818

1919
run_swiftlint_for_modified_files () {
@@ -50,7 +50,7 @@ run_swiftlint_for_modified_files () {
5050
fi
5151
}
5252

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

0 commit comments

Comments
 (0)