Skip to content

Commit

Permalink
remove main return type
Browse files Browse the repository at this point in the history
  • Loading branch information
kazuminn committed Nov 26, 2020
1 parent 4a54017 commit 6f1ef1a
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/main.rs
Original file line number Diff line number Diff line change
@@ -1,21 +1,18 @@
extern crate serde;

use evtx::EvtxParser;
use quick_xml::de::DeError;
use rusty_blue::detections::configs;
use rusty_blue::detections::detection;
use std::{fs, path::PathBuf, process};

fn main() -> Result<(), DeError> {
fn main() {
if let Some(filepath) = configs::singleton().args.value_of("filepath") {
parse_file(&filepath.to_string());
}

if configs::singleton().args.is_present("credits") {
print_credits();
}

Ok(())
}

fn print_credits() {
Expand Down

0 comments on commit 6f1ef1a

Please sign in to comment.