Skip to content

Commit

Permalink
feat: add support for guarding ddd
Browse files Browse the repository at this point in the history
  • Loading branch information
phodal committed Oct 25, 2022
1 parent 45f717e commit a0dadec
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions fkl_cli/src/main.rs
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
use std::fs;
use std::{fs, process};
use std::io::Write;
use std::path::PathBuf;

use clap::{Args, Parser, Subcommand};
use log::info;
use log::{error, info};

use fkl_parser::parse;

Expand Down Expand Up @@ -102,8 +102,10 @@ fn main() {

if errors.len() > 0 {
for error in errors {
println!("{}", error);
error!("error layered: {}", error);
}

process::exit(0x0100);
}
}
}
Expand Down

0 comments on commit a0dadec

Please sign in to comment.