Skip to content

Commit

Permalink
Update wayshot.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
rachancheet authored Mar 4, 2024
1 parent 20cf365 commit 3ce4ff3
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions wayshot/src/wayshot.rs
Original file line number Diff line number Diff line change
Expand Up @@ -59,10 +59,8 @@ fn main() -> Result<()> {
} else {
if pathbuf.is_dir() {
pathbuf.push(utils::get_default_file_name(requested_encoding));
Some(pathbuf)
} else {
Some(pathbuf)
}
}
Some(pathbuf)
}
}
None => Some(utils::get_default_file_name(requested_encoding)),
Expand Down

0 comments on commit 3ce4ff3

Please sign in to comment.