summaryrefslogtreecommitdiffstats
path: root/src/watch/detect.rs
diff options
context:
space:
mode:
authoraur-build <aur-build@localhost>2026-11-19 19:38:09 +0000
committeraur-build <aur-build@localhost>2026-11-19 19:38:09 +0000
commit8e4e88946e52455e78065257a46a7e6d63147101 (patch)
treef3e92ea5daa10bb9da3bad5f2bba7f0bff471b24 /src/watch/detect.rs
parente0960212c1499c76cc4abc8b2112baea97ecf1b4 (diff)
downloadaur-build-8e4e88946e52455e78065257a46a7e6d63147101.tar.gz
aur-build-8e4e88946e52455e78065257a46a7e6d63147101.zip
fix: drop the doubled semicolons the comment strip left behind
Diffstat (limited to 'src/watch/detect.rs')
-rw-r--r--src/watch/detect.rs2
1 files changed, 1 insertions, 1 deletions
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 });