diff --git a/lib/buildFileList.sh b/lib/buildFileList.sh index c016b752..822a1c4a 100755 --- a/lib/buildFileList.sh +++ b/lib/buildFileList.sh @@ -759,7 +759,7 @@ function PopulateShellScriptsList() { mapfile -t LIST_FILES < <(find "${GITHUB_WORKSPACE}" \ -path "*/node_modules" -prune -o \ - -path "*/\.git" -prune -o \ + -path "*/.git" -prune -o \ -path "*/.venv"-prune -o \ -path "*/.rbenv"-prune -o \ -type f 2>&1) diff --git a/lib/worker.sh b/lib/worker.sh index 524a929d..c6eb4ccd 100755 --- a/lib/worker.sh +++ b/lib/worker.sh @@ -97,7 +97,7 @@ function LintCodebase() { ################################# mapfile -t LIST_FILES < <(find "${GITHUB_WORKSPACE}" \ -path "*/node_modules" -prune -o \ - -path "*/\.git" -prune -o \ + -path "*/.git" -prune -o \ -path "*/.venv"-prune -o \ -path "*/.rbenv"-prune -o \ -type f -regex "${FILE_EXTENSIONS}" 2>&1)