Files
ruflo/plugins/ruflo-core/scripts
rUv cdc000fb41 fix(hooks): quote-aware split for RUFLO_HOOK_CLI_OVERRIDE (#3344)
override.split(' ') broke process.execPath into 'C:\Program' plus stray
tokens on a standard Windows Node install (C:\Program Files\nodejs\node.exe),
since the override string wasn't quote-aware. Found while verifying #3332's
Windows argv fix on a real Windows machine: 3 of 32 plugin-hooks-smoke cases
failed only on a stock Windows dev box, not on windows-latest CI (whose
hostedtoolcache Node path has no space).

RUFLO_HOOK_CLI_OVERRIDE is a test-only escape hatch, never set in
production, so this has no user-facing impact — it only unblocks the
test harness on the common case of a Program-Files Node install.

Adds splitCliOverride(), a minimal double-quote-aware tokenizer, and
quotes the two override strings test-hooks.mjs builds from
process.execPath.
2026-09-16 15:38:52 +00:00
..