diff options
| author | aur-build <aur-build@localhost> | 2026-11-19 19:38:09 +0000 |
|---|---|---|
| committer | aur-build <aur-build@localhost> | 2026-11-19 19:38:09 +0000 |
| commit | 8e4e88946e52455e78065257a46a7e6d63147101 (patch) | |
| tree | f3e92ea5daa10bb9da3bad5f2bba7f0bff471b24 | |
| parent | e0960212c1499c76cc4abc8b2112baea97ecf1b4 (diff) | |
| download | aur-build-8e4e88946e52455e78065257a46a7e6d63147101.tar.gz aur-build-8e4e88946e52455e78065257a46a7e6d63147101.zip | |
fix: drop the doubled semicolons the comment strip left behind
| -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 }); |
