From 86a006f34dfa68b58b34cebed8ae510937c8973e Mon Sep 17 00:00:00 2001 From: Morgante Pell Date: Sat, 23 Mar 2024 10:17:00 -0400 Subject: [PATCH] fix it --- crates/cli/src/commands/mod.rs | 4 ++-- crates/cli/src/commands/plumbing.rs | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/crates/cli/src/commands/mod.rs b/crates/cli/src/commands/mod.rs index d542c9200..3eafd26ee 100644 --- a/crates/cli/src/commands/mod.rs +++ b/crates/cli/src/commands/mod.rs @@ -40,7 +40,7 @@ use crate::{ flags::{GlobalFormatFlags, OutputFormat}, updater::Updater, }; -use anyhow::{Error, Result}; +use anyhow::{Result}; use apply::ApplyArgs; use auth::{Auth, AuthCommands}; use check::CheckArg; @@ -52,7 +52,7 @@ use indicatif_log_bridge::LogWrapper; use init::InitArgs; use install::InstallArgs; use list::ListArgs; -use log::{debug, LevelFilter}; +use log::{LevelFilter}; use lsp::LspArgs; use marzano_messenger::emit::ApplyDetails; use parse::ParseArgs; diff --git a/crates/cli/src/commands/plumbing.rs b/crates/cli/src/commands/plumbing.rs index 58ebcf5c1..c5264b642 100644 --- a/crates/cli/src/commands/plumbing.rs +++ b/crates/cli/src/commands/plumbing.rs @@ -11,14 +11,14 @@ use std::io::{stdin, Read}; use std::path::Path; use std::path::PathBuf; -use crate::analytics::{track_event_line, AnalyticsEventName}; +use crate::analytics::{track_event_line}; use crate::flags::GlobalFormatFlags; use crate::lister::list_applyables; use crate::resolver::{get_grit_files_from, resolve_from, Source}; use crate::utils::is_pattern_name; -use futures::future::join_all; -use super::super::analytics::{track_event, AnalyticsArgs}; + +use super::super::analytics::{AnalyticsArgs}; use super::apply_pattern::{run_apply_pattern, ApplyPatternArgs}; use super::check::{run_check, CheckArg}; use super::init::{init_config_from_cwd, init_global_grit_modules};