diff options
Diffstat (limited to 'bin')
-rw-r--r-- | bin/src/lint.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/src/lint.rs b/bin/src/lint.rs index da9ee22..1138c23 100644 --- a/bin/src/lint.rs +++ b/bin/src/lint.rs | |||
@@ -42,9 +42,9 @@ pub mod main { | |||
42 | 42 | ||
43 | pub fn main(check_config: CheckConfig) -> Result<(), StatixErr> { | 43 | pub fn main(check_config: CheckConfig) -> Result<(), StatixErr> { |
44 | let vfs = check_config.vfs()?; | 44 | let vfs = check_config.vfs()?; |
45 | let mut stderr = io::stderr(); | 45 | let mut stdout = io::stdout(); |
46 | vfs.iter().map(lint).for_each(|r| { | 46 | vfs.iter().map(lint).for_each(|r| { |
47 | stderr.write(&r, &vfs, check_config.format).unwrap(); | 47 | stdout.write(&r, &vfs, check_config.format).unwrap(); |
48 | }); | 48 | }); |
49 | Ok(()) | 49 | Ok(()) |
50 | } | 50 | } |