Skip to content

Commit dfb4439

Browse files
[autofix.ci] apply automated fixes
1 parent 3e53d55 commit dfb4439

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

apps/oxlint/src/lint.rs

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -294,13 +294,14 @@ impl CliRunner {
294294
// TODO: refactor this elsewhere.
295295
// This code is in the oxlint app, not in oxc_linter crate
296296
if let Some(ref external_linter) = external_linter
297-
&& let Err(err) = external_plugin_store.setup_configs(external_linter) {
298-
print_and_flush_stdout(
299-
stdout,
300-
&format!("Failed to setup external plugin options: {err}\n"),
301-
);
302-
return CliRunResult::InvalidOptionConfig;
303-
}
297+
&& let Err(err) = external_plugin_store.setup_configs(external_linter)
298+
{
299+
print_and_flush_stdout(
300+
stdout,
301+
&format!("Failed to setup external plugin options: {err}\n"),
302+
);
303+
return CliRunResult::InvalidOptionConfig;
304+
}
304305

305306
let report_unused_directives = match inline_config_options.report_unused_directives {
306307
ReportUnusedDirectives::WithoutSeverity(true) => Some(AllowWarnDeny::Warn),

0 commit comments

Comments
 (0)