Skip to content

Commit

Permalink
fix: build failure and remove .uwuignore
Browse files Browse the repository at this point in the history
  • Loading branch information
r3tr0ananas committed Aug 10, 2024
1 parent 648c89b commit 1f4ff82
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions src/agc-parser/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,6 @@ enum LogLevel {
fn main() {
let mut return_code: u8 = 0;

let uwu_ignore_file = fs::read_to_string(".uwuignore").expect("Can't find .uwuignore file!");
let ignored_folders: Vec<&str> = uwu_ignore_file.lines().collect();

let glob_demon = glob("**/*.png").unwrap()
.chain(glob("**/*.jpg").unwrap())
.chain(glob("**/*.jpeg").unwrap())
Expand All @@ -28,10 +25,6 @@ fn main() {
let file_path = file.expect("Failed to retrieve PathBuf!");
let file_parent_path = file_path.parent().unwrap();

if ignored_folders.contains(&file_parent_path.file_name().unwrap().to_str().unwrap()) {
continue;
}

let image_name = (&file_path).file_stem().unwrap().to_str().unwrap();

// println!("Parsing / checking '{}'...", image_id);
Expand Down

0 comments on commit 1f4ff82

Please sign in to comment.