Repository navigation
Commit fdae697
fix: [#958] pass installer test args as bareword command-line tokens
Array splatting binds positionally, so -Version still became a string value
($Version = "-Version"). Pass the args as bareword tokens after the script path
(`& 'script' -Version 0.0.0-nonexistent`) so parameter names bind as names,
matching the original `pwsh -File <script> @ScriptArgs` behavior. The harness
only ever passes shell-safe tokens.
Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>1 parent daa66cc commit fdae697
1 file changed
Lines changed: 8 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | | - | |
50 | | - | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
51 | 51 | | |
52 | | - | |
| 52 | + | |
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
| |||
0 commit comments