From f28f8c6063dfdee3720a8841cc857df2c911dec8 Mon Sep 17 00:00:00 2001 From: Artemis Everfree Date: Thu, 8 Jun 2023 01:33:01 -0700 Subject: actually merge confirm_timeout into merged_settings --- src/lib.rs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/lib.rs b/src/lib.rs index bf1a6dc..c6f8e03 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -147,10 +147,10 @@ pub fn init_logger( Ok(()) } +pub mod cli; pub mod data; pub mod deploy; pub mod push; -pub mod cli; #[derive(Debug)] pub struct CmdOverrides { @@ -441,6 +441,9 @@ pub fn make_deploy_data<'a, 's>( if let Some(magic_rollback) = cmd_overrides.magic_rollback { merged_settings.magic_rollback = Some(magic_rollback); } + if let Some(confirm_timeout) = cmd_overrides.confirm_timeout { + merged_settings.confirm_timeout = Some(confirm_timeout); + } DeployData { node_name, -- cgit v1.2.3