From fa00e2f8b9fd54a1961b6bc1ae67faeeaeefdebb Mon Sep 17 00:00:00 2001 From: Ashok Menon Date: Tue, 30 Jan 2024 17:53:49 +0000 Subject: [PATCH] [CLI] Fix main (#16004) ## Description I was overzealous about removing an import (not sure why local builds did not catch this!). ## Test Plan ``` sui$ cargo build --bin sui ``` --- crates/sui/src/client_commands.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/sui/src/client_commands.rs b/crates/sui/src/client_commands.rs index 23906c3bb8d8f..368bf5e918bd1 100644 --- a/crates/sui/src/client_commands.rs +++ b/crates/sui/src/client_commands.rs @@ -7,7 +7,7 @@ use std::{ sync::Arc, }; -use anyhow::{anyhow, ensure}; +use anyhow::{anyhow, bail, ensure}; use bip32::DerivationPath; use clap::*; use colored::Colorize; @@ -742,7 +742,7 @@ impl SuiClientCommands { profile_output, } => { move_vm_profiler::gas_profiler_feature_disabled! { - anyhow::bail!( + bail!( "gas-profiler feature is not enabled, rebuild or reinstall with \ --features gas-profiler" );