Commit 0976154
Fix two bugs in DockerBuild.ps1 template.
Bug #1: Undefined variable reference in isolation arg
- Line 46: $isolationArg was referencing itself before being defined
- Fix: Use "--isolation=$Isolation" instead of "$isolationArg"
- Impact: Docker isolation flag was always empty on Windows
Bug #2: Script path quoting causing Docker errors
- Line 1305: Nested double quotes in script invocation
- Fix: Use single quotes instead: "& '$scriptFullPath'"
- Impact: "invalid reference format" errors when passing script paths to Docker
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>1 parent 1a7858a commit 0976154
File tree
2 files changed
+4
-4
lines changed- src/PostSharp.Engineering.BuildTools/Resources
2 files changed
+4
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
46 | | - | |
| 46 | + | |
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
| |||
1302 | 1302 | | |
1303 | 1303 | | |
1304 | 1304 | | |
1305 | | - | |
| 1305 | + | |
1306 | 1306 | | |
1307 | 1307 | | |
1308 | 1308 | | |
| |||
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
46 | | - | |
| 46 | + | |
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
| |||
1302 | 1302 | | |
1303 | 1303 | | |
1304 | 1304 | | |
1305 | | - | |
| 1305 | + | |
1306 | 1306 | | |
1307 | 1307 | | |
1308 | 1308 | | |
| |||
0 commit comments