Skip to content

Commit 8ed89a1

Browse files
committed
prune: bump timestamp if there are no builds to remove
1 parent e3d1a74 commit 8ed89a1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/cmd-prune

+1-1
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ else:
9393
print(f"prune: new builds: {new_builds}")
9494
print(f"prune: builds to delete: {builds_to_delete}")
9595

96-
if len(builds_to_delete) == 0 or args.dry_run:
96+
if args.dry_run:
9797
print(f"prune: not removing any builds")
9898
sys.exit(0)
9999

0 commit comments

Comments
 (0)