1 parent eef1c31 commit 0bf5181Copy full SHA for 0bf5181
1 file changed
cli/src/main.rs
@@ -141,7 +141,11 @@ fn lint(opts: LintOpts) -> Result<(), Error> {
141
Some(bundle_path) => {
142
let mut bundle: ScriptBundle = ScriptBundle::load(&mut BufReader::new(File::open(bundle_path)?))?;
143
let mut compiler = Compiler::new(&mut bundle.pool)?;
144
- compiler.compile_all(&opts.src)
+ match compiler.compile_all(&opts.src) {
145
+ Ok(()) => println!("Lint successful"),
146
+ Err(_) => {}
147
+ }
148
+ Ok(())
149
}
150
None => Ok(()),
151
0 commit comments