File tree Expand file tree Collapse file tree 1 file changed +8
-7
lines changed Expand file tree Collapse file tree 1 file changed +8
-7
lines changed Original file line number Diff line number Diff 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 ) ,
You can’t perform that action at this time.
0 commit comments