diff --git a/integration-tests/parse_files.sh b/integration-tests/parse_files.sh index fbe4110..acb1a1e 100755 --- a/integration-tests/parse_files.sh +++ b/integration-tests/parse_files.sh @@ -106,14 +106,14 @@ function parse_dockerfiles() { stack ghc parseFile.hs --package language-docker dockerfiles=$(find . -name 'Dockerfile') for dockerfile in $dockerfiles; do - if [[ "$BLACKLIST" == *$dockerfile* ]]; then - continue; - fi + if [[ "$BLACKLIST" == *$dockerfile* ]]; then + continue; + fi if ./parseFile "$dockerfile" > /dev/null; then - echo "$dockerfile" + echo "$dockerfile" else - result="false" + result="false" fi done if [[ ${result} == "false" ]]; then false; fi