Skip to content

Commit

Permalink
cargo fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
barthalion committed May 23, 2024
1 parent 9216562 commit 0d94c38
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions src/jobs/publish_job.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ use serde_json::json;
use std::collections::HashMap;
use std::ffi::OsString;
use std::fs::{self, File};
use std::path::Path;
use std::io::Write;
use std::path::Path;
use std::process::Command;

use crate::config::{Config, RepoConfig};
Expand Down Expand Up @@ -148,11 +148,7 @@ impl PublishJobInstance {
);

fs::remove_dir_all(path).unwrap_or_else(|_| {
job_log_and_info!(
self.job_id,
conn,
&format!("Failed to remove build")
);
job_log_and_info!(self.job_id, conn, &format!("Failed to remove build"));
});

Ok(json!({
Expand Down

0 comments on commit 0d94c38

Please sign in to comment.