fix(just): p12-night refuses an empty mutation output name before its rm -rf
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
f030157c87
commit
771000a464
1 file changed
+2
@@ -333,6 +333,8 @@ run_props_max() {
|
|||||||
run_mutants() {
|
run_mutants() {
|
||||||
local step=$1 out dir dest rc=0
|
local step=$1 out dir dest rc=0
|
||||||
out=$(mutation_out "$step")
|
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
|
dir=$repo/$out
|
||||||
dest=$state/mutants/$step
|
dest=$state/mutants/$step
|
||||||
# No resume: the recipes do not pass cargo-mutants' --iterate, so a
|
# No resume: the recipes do not pass cargo-mutants' --iterate, so a
|
||||||
|
|||||||
Reference in new issue
Block a user