feat(cli): add line feed between error reports
This commit is contained in:
@@ -5,6 +5,7 @@ pub mod source;
|
|||||||
pub mod typing;
|
pub mod typing;
|
||||||
|
|
||||||
use std::default::Default;
|
use std::default::Default;
|
||||||
|
use std::io::Write as _;
|
||||||
use std::path::PathBuf;
|
use std::path::PathBuf;
|
||||||
|
|
||||||
use clap::{Parser as ClapParser, Subcommand};
|
use clap::{Parser as ClapParser, Subcommand};
|
||||||
@@ -77,6 +78,7 @@ fn check(modules: &mut Vec<Module>, source_cache: &mut SourceCache) {
|
|||||||
.to_report(module)
|
.to_report(module)
|
||||||
.eprint(&mut *source_cache)
|
.eprint(&mut *source_cache)
|
||||||
.expect("cannot write error to stderr");
|
.expect("cannot write error to stderr");
|
||||||
|
std::io::stderr().write_all("\n".as_bytes()).unwrap();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user