You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Class\n\nprompt-defect\n\n## Symptom\n\nRunning pforge check / validate-setup.ps1 prints a stray True or False line after each file check (e.g. after every PASS line in Required files and Optional files sections). The Check-FileExists function returns $true/$false, but all 20 call sites invoke it as bare statements without capturing or suppressing the return value, so PowerShell writes the booleans to the success output stream and they appear interleaved in the validator output.\n\n## Workaround Applied\n\nRemoved the unused return $true / return $false statements from Check-FileExists in the local copy (changed to bare return). Verified the stray boolean lines are gone and validation still passes (15 passed, 0 failed, 7 warnings). Note: validate-setup.ps1 is part of the Plan Forge distribution and the local fix is overwritten on the next pforge self-update, so the fix needs to land upstream.\n\n## Files\n\n- validate-setup.ps1
Class\n\n
prompt-defect\n\n## Symptom\n\nRunningpforge check/validate-setup.ps1prints a strayTrueorFalseline after each file check (e.g. after every PASS line in Required files and Optional files sections). TheCheck-FileExistsfunction returns$true/$false, but all 20 call sites invoke it as bare statements without capturing or suppressing the return value, so PowerShell writes the booleans to the success output stream and they appear interleaved in the validator output.\n\n## Workaround Applied\n\nRemoved the unusedreturn $true/return $falsestatements from Check-FileExists in the local copy (changed to barereturn). Verified the stray boolean lines are gone and validation still passes (15 passed, 0 failed, 7 warnings). Note: validate-setup.ps1 is part of the Plan Forge distribution and the local fix is overwritten on the nextpforge self-update, so the fix needs to land upstream.\n\n## Files\n\n-validate-setup.ps1