From 7509475baddb63fd0be04a00b1854f384d16c499 Mon Sep 17 00:00:00 2001 From: Brett Mayson Date: Tue, 22 Oct 2024 00:50:08 +0000 Subject: [PATCH] fix bad copy paste for configs --- bin/src/modules/rapifier.rs | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/bin/src/modules/rapifier.rs b/bin/src/modules/rapifier.rs index 10928c35..25b433c8 100644 --- a/bin/src/modules/rapifier.rs +++ b/bin/src/modules/rapifier.rs @@ -13,8 +13,6 @@ use crate::{context::Context, error::Error, progress::progress_bar, report::Repo use super::Module; -// type RapifyResult = (Vec<(String, Vec)>, Result<(), Error>); - #[derive(Default)] pub struct Rapifier; @@ -68,8 +66,7 @@ impl Module for Rapifier { }) .collect::, Error>>()?; - let progress = - progress_bar(ctx.addons().to_vec().len() as u64).with_message("Rapifying Configs"); + let progress = progress_bar(entries.len() as u64).with_message("Rapifying Configs"); let reports = entries .par_iter() .map(|(addon, entry)| {