fix: add log::debug macro and remove unused imports

This commit is contained in:
Andrew Phillips (aider)
2025-05-12 10:40:49 -03:00
parent 5edecfa960
commit 47e0a1d51c
2 changed files with 3 additions and 4 deletions

View File

@@ -1,9 +1,9 @@
use crate::compression::CompressionType;
use crate::modes::common::{format_size, ColumnType};
use crate::modes::common::format_size;
use std::path::PathBuf;
use std::str::FromStr;
use anyhow::{anyhow, Error, Result};
use anyhow::{anyhow, Result};
use clap::Command;
use nix::fcntl::FdFlag;
use nix::unistd::{close, pipe};
@@ -22,7 +22,7 @@ pub fn mode_diff(
) -> Result<()> {
if !tags.is_empty() {
cmd.error(
ErrorKind::InvalidValue,
clap::error::ErrorKind::InvalidValue,
"Tags are not supported with --diff. Please provide exactly two IDs.",
)
.exit();

View File

@@ -7,4 +7,3 @@ pub mod list;
pub mod save;
pub mod status;
pub mod update;
use crate::modes::diff::mode_diff;