fix(just): p12-night refuses an empty mutation output name before its rm -rf
check / check (push) Canceled after 0s
portable-macos / portable (macos-latest) (push) Canceled after 0s
portable-windows / portable (windows-latest) (push) Canceled after 0s
two-user / two-user (push) Canceled after 0s

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
swaitsandClaude Opus 5.5 committed 2026-11-06 16:51:59 -07:00
1 parent f030157c87
commit 771000a464
1 file changed
+2
+2
View File
@@ -333,6 +333,8 @@ run_props_max() {
run_mutants() {
local step=$1 out dir dest rc=0
out=$(mutation_out "$step")
# Never let an empty name turn the rm below into one of the repo.
[ -n "$out" ] || { echo "P12: no output directory for $step" >&2; return 1; }
dir=$repo/$out
dest=$state/mutants/$step
# No resume: the recipes do not pass cargo-mutants' --iterate, so a