"is a directory": info -> warn
This commit is contained in:
parent
b6c19dc906
commit
b4452d2eab
1 changed files with 2 additions and 2 deletions
|
|
@ -15,7 +15,7 @@
|
||||||
|
|
||||||
use clap::{App, AppSettings, Arg, ArgMatches};
|
use clap::{App, AppSettings, Arg, ArgMatches};
|
||||||
use indexmap::IndexSet;
|
use indexmap::IndexSet;
|
||||||
use log::{error, info};
|
use log::{error, warn};
|
||||||
use oxipng::AlphaOptim;
|
use oxipng::AlphaOptim;
|
||||||
use oxipng::Deflaters;
|
use oxipng::Deflaters;
|
||||||
use oxipng::Headers;
|
use oxipng::Headers;
|
||||||
|
|
@ -285,7 +285,7 @@ fn collect_files(
|
||||||
.collect();
|
.collect();
|
||||||
in_out_pairs.extend(collect_files(files, out_dir, out_file, recursive, false));
|
in_out_pairs.extend(collect_files(files, out_dir, out_file, recursive, false));
|
||||||
} else {
|
} else {
|
||||||
info!("{} is a directory, skipping", input.display());
|
warn!("{} is a directory, skipping", input.display());
|
||||||
}
|
}
|
||||||
continue;
|
continue;
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue