From 15e190877e18da25621db2ff934ea689314d010b Mon Sep 17 00:00:00 2001 From: madomado Date: Tue, 19 Sep 2023 11:31:05 +0800 Subject: [PATCH] fix(util)!: anda ci needed `rpm {}` Packages now without `rpm {}` in `anda.hcl` are also included in output of `anda ci`. --- src/util.rs | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/util.rs b/src/util.rs index 60d0eec..14bf9bd 100644 --- a/src/util.rs +++ b/src/util.rs @@ -57,10 +57,9 @@ pub fn fetch_build_entries(config: Manifest) -> Vec { } continue; } - - for arch in project.arches.unwrap_or_else(|| DEFAULT_ARCHES.to_vec()) { - entries.push(BuildEntry { pkg: name.clone(), arch: arch.clone() }); - } + } + for arch in project.arches.unwrap_or_else(|| DEFAULT_ARCHES.to_vec()) { + entries.push(BuildEntry { pkg: name.clone(), arch: arch.clone() }); } }