diff options
author | Akshay <[email protected]> | 2021-10-23 17:44:56 +0100 |
---|---|---|
committer | Akshay <[email protected]> | 2021-10-23 17:44:56 +0100 |
commit | c79799c0e418c0c37e4076d653d64e6adaa3378b (patch) | |
tree | 484996ba57e86d43b4fad78712e80d358e14ce51 /bin/src/main.rs | |
parent | 2e7b95f22439ab51720109df37dd47a34b9e194e (diff) |
add support for errfmt friendly output
Diffstat (limited to 'bin/src/main.rs')
-rw-r--r-- | bin/src/main.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/src/main.rs b/bin/src/main.rs index 4cd525a..6f0343e 100644 --- a/bin/src/main.rs +++ b/bin/src/main.rs | |||
@@ -49,7 +49,7 @@ fn _main() -> Result<(), StatixErr> { | |||
49 | 49 | ||
50 | let mut stderr = io::stderr(); | 50 | let mut stderr = io::stderr(); |
51 | lint_results.for_each(|r| { | 51 | lint_results.for_each(|r| { |
52 | stderr.write(&r, &vfs).unwrap(); | 52 | stderr.write(&r, &vfs, lint_config.format).unwrap(); |
53 | }); | 53 | }); |
54 | errors.for_each(|e| { | 54 | errors.for_each(|e| { |
55 | eprintln!("{}", e); | 55 | eprintln!("{}", e); |