Skip to content

Commit

Permalink
i forgot about .rs
Browse files Browse the repository at this point in the history
  • Loading branch information
dev-ardi committed Nov 25, 2023
1 parent f11888b commit 2d611f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cargo-aoc/src/app.rs
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ fn codegen(day: u32) -> Result<(), Box<dyn Error>> {
eprintln!("lib.rs already contains {str}. Skipping...");
}

let filename = &format!("src/day{day}");
let filename = &format!("src/day{day}.rs");
let filename = Path::new(filename);
if filename.exists() {
eprintln!("{filename:?} already exists. Skipping...");
Expand Down

0 comments on commit 2d611f1

Please sign in to comment.