diff options
| -rw-r--r-- | src/pipeline/steps.rs | 2 | ||||
| -rw-r--r-- | src/watch/detect.rs | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/pipeline/steps.rs b/src/pipeline/steps.rs index efd3cdb..3a6cff0 100644 --- a/src/pipeline/steps.rs +++ b/src/pipeline/steps.rs @@ -314,7 +314,7 @@ fn collect(ctx: &Ctx) -> Result<StepResult> { .filter(|p| p.to_string_lossy().ends_with(".pkg.tar.zst")) .collect(); entries.sort(); - let staging_root = ctx.staging.canonicalize()?;; + let staging_root = ctx.staging.canonicalize()?; for path in entries { if std::fs::symlink_metadata(&path).map(|m| m.file_type().is_symlink()).unwrap_or(true) { return Err(Error::fail_closed(format!( diff --git a/src/watch/detect.rs b/src/watch/detect.rs index 800c157..d155913 100644 --- a/src/watch/detect.rs +++ b/src/watch/detect.rs @@ -31,7 +31,7 @@ pub struct CheckReport { pub fn check_pkgbase(cfg: &Config, db: &Db, name: &str) -> Result<CheckReport> { let pb = get_pkgbase(db, name)? .ok_or_else(|| crate::error::Error::not_found(format!("pkgbase {name}")))?; - let sub = db::get_subscription(db, name)?;; + let sub = db::get_subscription(db, name)?; let paused = sub.as_ref().map(|s| s.state == SubscriptionState::Paused).unwrap_or(false); if paused { return Ok(CheckReport { pkgbase: name.into(), head: String::new(), outcome: Outcome::Paused }); |
