From b9b5e1ee639f61337cbe50966e25d7288d7bcffb Mon Sep 17 00:00:00 2001 From: NachoSoto Date: Sat, 13 Aug 2022 12:20:24 -0400 Subject: [PATCH] `SwiftLint`: cleaned up output --- scripts/swiftlint.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/swiftlint.sh b/scripts/swiftlint.sh index 6e357dd998..e9467be24f 100755 --- a/scripts/swiftlint.sh +++ b/scripts/swiftlint.sh @@ -22,7 +22,8 @@ if which swiftlint >/dev/null; then echo "linter command: ${lint_command}" pushd "${source_path}" - $lint_command + # Run swiftlint but filter out "Linting ..." to clean up output + $lint_command 2>&1 | grep -v 'Linting ' popd else echo "Warning: SwiftLint not installed in ${HOMEBREW_BINARY_DESTINATION}, download from https://github.com/realm/SwiftLint"