mirror of
https://github.com/denoland/deno.git
synced 2024-12-22 15:24:46 -05:00
fix(cli/tools/lint): output json reports to stdout (#11311)
This commit is contained in:
parent
5bcbbb75e9
commit
f48a3fd194
1 changed files with 1 additions and 1 deletions
|
@ -350,7 +350,7 @@ impl LintReporter for JsonLintReporter {
|
|||
fn close(&mut self, _check_count: usize) {
|
||||
sort_diagnostics(&mut self.diagnostics);
|
||||
let json = serde_json::to_string_pretty(&self);
|
||||
eprintln!("{}", json.unwrap());
|
||||
println!("{}", json.unwrap());
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue