mirror of
https://github.com/super-linter/super-linter.git
synced 2024-11-29 12:10:56 -05:00
actually the right way
This commit is contained in:
parent
64a79027b4
commit
eb2f960a3f
1 changed files with 4 additions and 4 deletions
|
@ -364,14 +364,14 @@ function TestCodebase()
|
||||||
# Increment the error count
|
# Increment the error count
|
||||||
(("ERRORS_FOUND_$FILE_TYPE++"))
|
(("ERRORS_FOUND_$FILE_TYPE++"))
|
||||||
# Increment counter that check was ran
|
# Increment counter that check was ran
|
||||||
(("$TESTS_RAN++"))
|
((TESTS_RAN++))
|
||||||
else
|
else
|
||||||
###########
|
###########
|
||||||
# Success #
|
# Success #
|
||||||
###########
|
###########
|
||||||
echo " - File:[$FILE_NAME] was linted with [$LINTER_NAME] successfully"
|
echo " - File:[$FILE_NAME] was linted with [$LINTER_NAME] successfully"
|
||||||
# Increment counter that check was ran
|
# Increment counter that check was ran
|
||||||
(("$TESTS_RAN++"))
|
((TESTS_RAN++))
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
#######################################
|
#######################################
|
||||||
|
@ -391,14 +391,14 @@ function TestCodebase()
|
||||||
# Increment the error count
|
# Increment the error count
|
||||||
(("ERRORS_FOUND_$FILE_TYPE++"))
|
(("ERRORS_FOUND_$FILE_TYPE++"))
|
||||||
# Increment counter that check was ran
|
# Increment counter that check was ran
|
||||||
(("$TESTS_RAN++"))
|
((TESTS_RAN++))
|
||||||
else
|
else
|
||||||
###########
|
###########
|
||||||
# Success #
|
# Success #
|
||||||
###########
|
###########
|
||||||
echo " - File:[$FILE_NAME] failed test case with [$LINTER_NAME] successfully"
|
echo " - File:[$FILE_NAME] failed test case with [$LINTER_NAME] successfully"
|
||||||
# Increment counter that check was ran
|
# Increment counter that check was ran
|
||||||
(("$TESTS_RAN++"))
|
((TESTS_RAN++))
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|
Loading…
Reference in a new issue