diff --git a/sanityCheck.sh b/sanityCheck.sh index 4c4fc5c799a017c605293b9f1f88f0b021e3de51..fdd53819e2dd79df74ec277e6765ffcc57476e45 100755 --- a/sanityCheck.sh +++ b/sanityCheck.sh @@ -114,9 +114,9 @@ $GREP "span class=[^\"\']" -- src/*.js ':!src/001-lib/Jquery/Jquery.js' | myprin $GREP "\$\(PC\|activeSlave\|slaves\|tanks\)[.][^a-zA-Z]" | myprint "UnexpectedCharAfterDot" ) # Check for lines with only "let" -$GREP [^A-Za-z]let(\r|\n) | myprint "WrongLetStyle" +$GREP '[^A-Za-z]let(\r|\n)' | myprint "WrongLetStyle" # Check for lines with only "const" -$GREP const(\r|\n) | myprint "WrongConstStyle" +$GREP 'const(\r|\n)' | myprint "WrongConstStyle" # Check that all the tags are properly opened and closed & a lot of other stuff java -jar devTools/javaSanityCheck/SanityCheck.jar