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
|
||||
shell: pwsh
|
||||
run: |
|
||||
if (git status --short) {
|
||||
git status --short
|
||||
$changed = git diff --ignore-space-at-eol --name-only -- packages/${{ matrix.package }}
|
||||
if ($changed) {
|
||||
git diff --ignore-space-at-eol -- packages/${{ matrix.package }}
|
||||
throw "The package build changed checked-in generated output."
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue