fix: cleanup prune command
All checks were successful
CI / Check, test, lint (push) Successful in 33s

This commit is contained in:
2026-05-21 20:47:11 +02:00
parent fc67daa0ac
commit 113ea01147

View File

@@ -33,13 +33,7 @@ pub fn execute(force: bool, dry_run: bool) -> Result<()> {
let mut errors = 0; let mut errors = 0;
for job in &to_prune { for job in &to_prune {
let remote_rm = format!( let remote_rm = format!("rm -rf ~/.p/jobs/{id} ~/.p/workdirs/{id}", id = job.id);
"rm -rf {}/.p/jobs/{id} {}/.p/workdirs/{id}",
// use the worker's home via SSH expansion
"~",
"~",
id = job.id
);
println!( println!(
" {} {} ({})", " {} {} ({})",