Parse every build script in a test so a quoting slip fails the gate #230

Closed
opened 2026-10-27 09:56:30 -05:00 by ethan-hann · 1 comment
Owner

A one-line wording change put an apostrophe inside a single-quoted PowerShell string in build/gate-linux.ps1 and build/package-linux.ps1, so neither script parsed, and nothing in the gate noticed until the next VM gate run failed to start. Add a test that parses every build/.ps1 with the PowerShell parser (and every build/.sh with bash -n where bash exists) and fails on any error.

A one-line wording change put an apostrophe inside a single-quoted PowerShell string in build/gate-linux.ps1 and build/package-linux.ps1, so neither script parsed, and nothing in the gate noticed until the next VM gate run failed to start. Add a test that parses every build/*.ps1 with the PowerShell parser (and every build/*.sh with `bash -n` where bash exists) and fails on any error.
ethan-hann added this to the Code Cleanup milestone 2026-10-27 09:56:30 -05:00
Author
Owner
Fixed in 0.9.19 (PR 252): https://git.tortal.tech/ethan-hann/SavePoint/releases/tag/v0.9.19
Sign in to join this conversation.
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
ethan-hann/SavePoint#230
No description provided.