From eb2f960a3f12e27ef8789e8bb6e70861e8b5519f Mon Sep 17 00:00:00 2001 From: Lucas Gravley <29484535+admiralAwkbar@users.noreply.github.com> Date: Tue, 30 Jun 2020 15:34:33 -0500 Subject: [PATCH] actually the right way --- lib/worker.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/worker.sh b/lib/worker.sh index 375afd44..fc1d65f1 100755 --- a/lib/worker.sh +++ b/lib/worker.sh @@ -364,14 +364,14 @@ function TestCodebase() # Increment the error count (("ERRORS_FOUND_$FILE_TYPE++")) # Increment counter that check was ran - (("$TESTS_RAN++")) + ((TESTS_RAN++)) else ########### # Success # ########### echo " - File:[$FILE_NAME] was linted with [$LINTER_NAME] successfully" # Increment counter that check was ran - (("$TESTS_RAN++")) + ((TESTS_RAN++)) fi else ####################################### @@ -391,14 +391,14 @@ function TestCodebase() # Increment the error count (("ERRORS_FOUND_$FILE_TYPE++")) # Increment counter that check was ran - (("$TESTS_RAN++")) + ((TESTS_RAN++)) else ########### # Success # ########### echo " - File:[$FILE_NAME] failed test case with [$LINTER_NAME] successfully" # Increment counter that check was ran - (("$TESTS_RAN++")) + ((TESTS_RAN++)) fi fi done