Ignore line-ending-only generated package drift
This commit is contained in:
parent
cfef87525a
commit
3aca3b7a1b
1 changed files with 3 additions and 2 deletions
5
.github/workflows/portable-contracts.yml
vendored
5
.github/workflows/portable-contracts.yml
vendored
|
|
@ -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."
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue