diff --git a/apps/oxlint/src/result.rs b/apps/oxlint/src/result.rs index c880613797d70..832ea0635c8ba 100644 --- a/apps/oxlint/src/result.rs +++ b/apps/oxlint/src/result.rs @@ -1,7 +1,4 @@ -use std::{ - path::PathBuf, - process::{ExitCode, Termination}, -}; +use std::process::{ExitCode, Termination}; #[derive(Debug)] pub enum CliRunResult { @@ -9,9 +6,6 @@ pub enum CliRunResult { InvalidOptions { message: String, }, - PathNotFound { - paths: Vec, - }, /// The exit unix code for, in general 0 or 1 (from `--deny-warnings` or `--max-warnings` for example) LintResult(ExitCode), PrintConfigResult, @@ -29,10 +23,6 @@ impl Termination for CliRunResult { println!("Invalid Options: {message}"); ExitCode::from(1) } - Self::PathNotFound { paths } => { - println!("Path {paths:?} does not exist."); - ExitCode::from(1) - } Self::LintResult(exit_code) => exit_code, Self::ConfigFileInitResult { message } => { println!("{message}");