mirror of
https://github.com/jjbrunton/Sauci.git
synced 2026-10-31 10:19:43 +00:00
The entrypoint guard compared process.argv[1] against the pathname of import.meta.url. A URL pathname percent-encodes spaces, so in any checkout whose path contains a space the comparison never matched and main() never ran: every ota:* script exited 0 having done nothing, which is indistinguishable from a successful publish. Compare resolved filesystem paths via fileURLToPath instead. Matches the equivalent guard in the DotActive OTA script. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>