Skip to content

Commit

Permalink
clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
0o-de-lally committed Nov 1, 2023
1 parent a1f863b commit 5ef8829
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/wallet/src/utils.rs
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ pub type CliTypedResult<T> = Result<T, anyhow::Error>;
pub fn check_if_file_exists(file: &Path) -> CliTypedResult<()> {
if file.exists() {
if let Some(env) = option_env!("LIBRA_CI") {
if env.len() > 0 {
if !env.is_empty() {
// TODO: how to make tests always overwrite?
println!("LIBRA_CI is set, overwriting {:?}", file.as_os_str());
return Ok(());
Expand Down

0 comments on commit 5ef8829

Please sign in to comment.