diff --git a/src/bash-linter.sh b/src/bash-linter.sh index e28a8f9..fb1480f 100755 --- a/src/bash-linter.sh +++ b/src/bash-linter.sh @@ -23,11 +23,7 @@ docker run --rm -v "$target_folder:/mnt" -w /mnt "$docker_shmft" --diff . echo echo "→ Checking code smells (shellcheck)" - -readonly gradle_wrapper_exclusion="-not -path ./gradle/*" -readonly find_with_execlusions="find /mnt -name '*.sh' $gradle_wrapper_exclusion" - -docker run --rm -v "$target_folder:/mnt" "$docker_shellcheck" sh -c "$find_with_execlusions | xargs shellcheck" +docker run --rm -v "$target_folder:/mnt" "$docker_shellcheck" sh -c "find /mnt -name '*.sh' | xargs shellcheck" echo echo "✅ All good!"