Ignore line-ending-only generated package drift

This commit is contained in:
Meta Vens 2026-08-18 02:56:58 +02:00
commit 3aca3b7a1b

View file

@ -41,7 +41,8 @@ jobs:
- name: Reject stale generated output - name: Reject stale generated output
shell: pwsh shell: pwsh
run: | run: |
if (git status --short) { $changed = git diff --ignore-space-at-eol --name-only -- packages/${{ matrix.package }}
git status --short if ($changed) {
git diff --ignore-space-at-eol -- packages/${{ matrix.package }}
throw "The package build changed checked-in generated output." throw "The package build changed checked-in generated output."
} }