Skip to content

Commit

Permalink
- Add fallback if swiftlint fails
Browse files Browse the repository at this point in the history
  • Loading branch information
dostrander committed Nov 4, 2016
1 parent 2246bb9 commit 70b796f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ in the IDE. Just add a new "Run Script Phase" with:

```bash
if which swiftlint >/dev/null; then
swiftlint
swiftlint || echo "warning: SwiftLint failed with exit code $?. Is SwiftLint installed and up to date?"
else
echo "warning: SwiftLint not installed, download from https://github.com/realm/SwiftLint"
fi
Expand Down

0 comments on commit 70b796f

Please sign in to comment.