Skip to content

Commit 94c6d70

Browse files
EliahKaganByron
authored andcommitted
Thanks clippy
1 parent 03d5a68 commit 94c6d70

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/tools/src/lib.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -638,7 +638,7 @@ fn should_skip_all_archive_creation() -> bool {
638638
// in the directory than they should which makes them fail. It's probably a bad idea to generate archives on Windows
639639
// anyway. Either Unix is portable OR no archive is created anywhere. This also means that Windows users can't create
640640
// archives, but that's not a deal-breaker.
641-
cfg!(windows) || (is_ci::cached() && !env::var_os("GIX_TEST_CREATE_ARCHIVES_EVEN_ON_CI").is_some())
641+
cfg!(windows) || (is_ci::cached() && env::var_os("GIX_TEST_CREATE_ARCHIVES_EVEN_ON_CI").is_none())
642642
}
643643

644644
fn is_lfs_pointer_file(path: &Path) -> bool {

0 commit comments

Comments
 (0)