Skip to content

Commit

Permalink
Fix test-injection compilation
Browse files Browse the repository at this point in the history
  • Loading branch information
MolotovCherry committed Nov 14, 2024
1 parent 33ca588 commit a417dda
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion crates/yabg3nml/src/run.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ use eyre::Result;
use shared::popup::{display_popup, fatal_popup, MessageBoxIcon};
use tracing::{error, trace};

#[allow(unused_imports)]
use crate::{
event::Event,
loader::run_loader,
Expand All @@ -27,7 +28,7 @@ pub fn run(run_type: RunType) -> Result<()> {
let _event = Event::new()?;

#[cfg(feature = "test-injection")]
let args: Args = argh::from_env();
let args: crate::cli::Args = argh::from_env();

let mut init = init()?;
let _loader_lock = init.loader.file.take();
Expand Down

0 comments on commit a417dda

Please sign in to comment.