Commit 1cfb5cb
fix: Skip PSScriptAnalyzer install on cache hit (#35)
The lint job was unconditionally running Install-Module even when the
module was already restored from cache. This caused Install-Module
-Force to conflict with the already-loaded cached module, triggering a
NullReferenceException in PSScriptAnalyzer.
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent 6c34dbb commit 1cfb5cb
1 file changed
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| 21 | + | |
21 | 22 | | |
22 | 23 | | |
23 | 24 | | |
| |||
26 | 27 | | |
27 | 28 | | |
28 | 29 | | |
| 30 | + | |
29 | 31 | | |
30 | 32 | | |
31 | 33 | | |
| |||
0 commit comments