fix syntax issue in swiftlint script

This commit is contained in:
Ivan Smolin 2024-01-29 16:40:50 +03:00
parent ccd4df9314
commit 5a663334f0
1 changed files with 1 additions and 1 deletions

View File

@ -32,7 +32,7 @@ readonly SOURCES_DIRS=`. ${SCRIPT_DIR}/common/read_input_file_names.sh "\n" ${SR
if [ -z "${SWIFTLINT_EXECUTABLE}" ]; then
if [ ! -z "${1}" ]; then
readonly SWIFTLINT_EXECUTABLE=${1}
elif [ ! -z "${PODS_ROOT}" ];
elif [ ! -z "${PODS_ROOT}" ]; then
readonly SWIFTLINT_EXECUTABLE=${PODS_ROOT}/SwiftLint/swiftlint
else
readonly SWIFTLINT_EXECUTABLE=${SRCROOT}/Pods/SwiftLint/swiftlint