Skip to content

Commit e2c2e1f

Browse files
committed
no-mistakes: apply CI fixes
1 parent 721cb74 commit e2c2e1f

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

bin/fm-spawn.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1591,6 +1591,7 @@ spawn_abort_cleanup() {
15911591
spawn_return_created_worktree || worktree_clean=0
15921592
else
15931593
worktree_clean=0
1594+
[ "$WORKTREE_RETAIN_ON_ABORT" != 1 ] || spawn_return_created_worktree || true
15941595
echo "warning: retained failed spawn resources for ${ID:-unknown} because prior task state could not be restored" >&2
15951596
fi
15961597
[ "$worktree_clean" = 1 ] || echo "warning: failed to return rollback worktree for ${ID:-unknown}" >&2

0 commit comments

Comments
 (0)