fix: cleanup prune command
All checks were successful
CI / Check, test, lint (push) Successful in 33s
All checks were successful
CI / Check, test, lint (push) Successful in 33s
This commit is contained in:
@@ -33,13 +33,7 @@ pub fn execute(force: bool, dry_run: bool) -> Result<()> {
|
||||
let mut errors = 0;
|
||||
|
||||
for job in &to_prune {
|
||||
let remote_rm = format!(
|
||||
"rm -rf {}/.p/jobs/{id} {}/.p/workdirs/{id}",
|
||||
// use the worker's home via SSH expansion
|
||||
"~",
|
||||
"~",
|
||||
id = job.id
|
||||
);
|
||||
let remote_rm = format!("rm -rf ~/.p/jobs/{id} ~/.p/workdirs/{id}", id = job.id);
|
||||
|
||||
println!(
|
||||
" {} {} ({})",
|
||||
|
||||
Reference in New Issue
Block a user