Commit f04f86d
committed
fix: use Contains instead of ContainsKey on OrderedDictionary
In PowerShell 7, [ordered]@{} is System.Collections.Specialized.OrderedDictionary,
which exposes Contains(key) but not ContainsKey(). The Push-Digests task
(multi-arch path) failed on the first include-arm64 dispatch with:
"Method invocation failed because [System.Collections.Specialized.OrderedDictionary]
does not contain a method named 'ContainsKey'."
The amd64-only path via Publish-Direct never hit this branch, which is why the
bug lay dormant since the switch to digest-based multi-arch assembly (0bd74f9).1 parent c1b7ec6 commit f04f86d
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
466 | 466 | | |
467 | 467 | | |
468 | 468 | | |
469 | | - | |
| 469 | + | |
470 | 470 | | |
471 | 471 | | |
472 | 472 | | |
| |||
0 commit comments