diff --git a/bolt-cli/src/common/mod.rs b/bolt-cli/src/common/mod.rs index 6f51fb86c..dfd67941d 100644 --- a/bolt-cli/src/common/mod.rs +++ b/bolt-cli/src/common/mod.rs @@ -38,7 +38,9 @@ pub fn write_to_file(out: &str, data: &T) -> Result<()> { } /// Asks whether the user wants to proceed further. If not, the process is exited. +#[allow(unreachable_code)] pub fn request_confirmation() { + // Skip confirmation in tests #[cfg(test)] return;