Repository navigation
v0.15.2
Migration: none required. Two commands that exited 0 without doing their work now exit 2.
Fixed
- A mistyped or unavailable subcommand no longer exits 0.
websec <word>falls back to
run <word>for point-and-go, but the fallback was unconditional, so any unknown word
became a scan target:websec gate --helpon a build withoutgateprintedrun's help
and exited 0, making a missing command indistinguishable from a present one. The fallback
now requires the argument to be an existing path, and otherwise exits 2 with a near-match
suggestion.websec <existing-path>is unchanged. websec gateno longer reports a pass when it could not determine what to analyse. If
git statusfailed — timeout,index.lockcontention, non-zero exit — the changed-file
set came back empty and labelledworking-tree, which is exactly what a genuinely clean
tree returns, so the gate passed having analysed nothing. That state is now
working-tree-unavailableand exits 2. A genuinely clean tree still passes.