From e26e522772f5f78e13ecbbf2d9e05ba461e43c71 Mon Sep 17 00:00:00 2001 From: "autofix-ci[bot]" <114827586+autofix-ci[bot]@users.noreply.github.com> Date: Sat, 25 Jan 2025 13:25:01 +0000 Subject: [PATCH] [autofix.ci] apply automated fixes --- apps/oxlint/src/lib.rs | 7 +------ apps/oxlint/src/result.rs | 12 +++++++++--- 2 files changed, 10 insertions(+), 9 deletions(-) diff --git a/apps/oxlint/src/lib.rs b/apps/oxlint/src/lib.rs index 8a960727514fe..26dbbe909445f 100644 --- a/apps/oxlint/src/lib.rs +++ b/apps/oxlint/src/lib.rs @@ -8,10 +8,5 @@ mod walk; pub mod cli { - pub use crate::{ - command::*, - lint::LintRunner, - result::CliRunResult, - runner::Runner, - }; + pub use crate::{command::*, lint::LintRunner, result::CliRunResult, runner::Runner}; } diff --git a/apps/oxlint/src/result.rs b/apps/oxlint/src/result.rs index 4e3ad5a7d0f9e..c880613797d70 100644 --- a/apps/oxlint/src/result.rs +++ b/apps/oxlint/src/result.rs @@ -6,12 +6,18 @@ use std::{ #[derive(Debug)] pub enum CliRunResult { None, - InvalidOptions { message: String }, - PathNotFound { paths: Vec }, + 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, - ConfigFileInitResult { message: String }, + ConfigFileInitResult { + message: String, + }, } impl Termination for CliRunResult {