Public Access
Replace Unicode arrows/dashes with ASCII in engine.ps1 and run-all.ps1
Windows PowerShell (5.1) reads .ps1 files without a UTF-8 BOM using the system codepage, which mangles multi-byte UTF-8 characters like -> and -- into garbage that includes smart-quote characters PowerShell treats as string terminators - this broke parsing on Melissa's PC (error at engine.ps1:283, cascading missing-brace errors above it). Sticking to plain ASCII avoids the whole encoding-dependent failure class.
This commit is contained in:
+1
-1
@@ -27,5 +27,5 @@ Write-Host ""
|
||||
if (-not $anyFail) {
|
||||
Write-Host "All entities complete." -ForegroundColor Green
|
||||
} else {
|
||||
Write-Host "One or more entities had failures — check output above." -ForegroundColor Yellow
|
||||
Write-Host "One or more entities had failures - check output above." -ForegroundColor Yellow
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user