mirror of
https://github.com/xavo95/repak.git
synced 2025-01-18 19:04:07 +00:00
clippy
This commit is contained in:
parent
8d46fde79e
commit
d3d0b23a31
1 changed files with 1 additions and 2 deletions
|
@ -184,8 +184,7 @@ fn unpack(args: ActionUnpack) -> Result<(), repak::Error> {
|
|||
|| (File::open(&args.input), includes.clone()),
|
||||
|(file, includes), path| -> Result<(), repak::Error> {
|
||||
let full_path = mount_point.join(&path);
|
||||
if !includes.is_empty() && includes.iter().find(|i| full_path.starts_with(i)).is_none()
|
||||
{
|
||||
if !includes.is_empty() && !includes.iter().any(|i| full_path.starts_with(i)) {
|
||||
return Ok(());
|
||||
}
|
||||
if args.verbose {
|
||||
|
|
Loading…
Reference in a new issue