fix: allow PowerShell CRLF line endings

This commit is contained in:
2026-08-04 14:39:58 +02:00
parent be0e49fbc7
commit f4b9542c92
3 changed files with 68 additions and 0 deletions
+4
View File
@@ -23,6 +23,10 @@ root="$(cd "$root" && pwd)"
offenders=()
while IFS= read -r -d '' file; do
case "$file" in
*.ps1) continue ;;
esac
if LC_ALL=C grep -Il $'\r' "$file" >/dev/null; then
offenders+=("${file#"$root"/}")
fi