Skip to content

Commit 208e4c6

Browse files
committed
refactor: 💡 delete debug log
1 parent a3ce6c7 commit 208e4c6

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "open_texture_packer"
3-
version = "0.2.1"
3+
version = "0.2.2"
44
edition = "2021"
55
authors = ["Daisuke Takayama <[email protected]>"]
66
description = "Open source and free Texture Packer tool written in rust."

src/file_io.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,7 @@ pub fn collect_image_paths(dir_path: String) -> io::Result<Vec<String>> {
1717

1818
if path.is_file() {
1919
if let Some(ext) = path.extension() {
20-
if let Some(image_ext) = ImageExtension::from_extension(ext.to_str().unwrap_or("")) {
21-
println!("Found image with extension: {:?}", image_ext);
20+
if ImageExtension::from_extension(ext.to_str().unwrap_or("")).is_some() {
2221
image_paths.push(path.to_string_lossy().to_string());
2322
}
2423
}

0 commit comments

Comments
 (0)