mirror of
https://github.com/danbulant/oxc
synced 2026-05-20 04:38:54 +00:00
fix(oxlint): properly report error (#3889)
This fixes an incorrect error formatting in the lint runner logic.
This commit is contained in:
parent
328445b4ca
commit
5902331cac
1 changed files with 1 additions and 1 deletions
|
|
@ -113,7 +113,7 @@ impl Runner for LintRunner {
|
|||
let mut err = String::new();
|
||||
handler.render_report(&mut err, diagnostic.as_ref()).unwrap();
|
||||
return CliRunResult::InvalidOptions {
|
||||
message: "Failed to parse configuration file.\n{err}".to_string(),
|
||||
message: format!("Failed to parse configuration file.\n{err}"),
|
||||
};
|
||||
}
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in a new issue