Skip to content

Commit

Permalink
[CLI] Fix main (MystenLabs#16004)
Browse files Browse the repository at this point in the history
## Description

I was overzealous about removing an import (not sure why local builds
did not catch this!).

## Test Plan

```
sui$ cargo build --bin sui
```
  • Loading branch information
amnn authored Jan 30, 2024
1 parent 6c32d51 commit fa00e2f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/sui/src/client_commands.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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"
);
Expand Down

0 comments on commit fa00e2f

Please sign in to comment.