Don't print empty lines to stderr (#940)
This commit is contained in:
parent
7a758ea20a
commit
847bad603e
1 changed files with 3 additions and 1 deletions
|
|
@ -440,7 +440,9 @@ pub enum Input {
|
|||
|
||||
pub fn run(input: Input, config: &Config) -> Summary {
|
||||
let (mut summary, file_map, report) = format_input(input, config);
|
||||
msg!("{}", report);
|
||||
if report.has_warnings() {
|
||||
msg!("{}", report);
|
||||
}
|
||||
|
||||
let mut out = stdout();
|
||||
let write_result = filemap::write_all_files(&file_map, &mut out, config);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue