From 05abac030f2fbfc4beee09b1fb5197ae6e6fe14a Mon Sep 17 00:00:00 2001 From: DustInDark Date: Tue, 21 Jun 2022 09:47:44 +0900 Subject: [PATCH] fixed condition #586 --- src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index 543f1b6a..bf6a4797 100644 --- a/src/main.rs +++ b/src/main.rs @@ -194,7 +194,7 @@ impl App { } self.analysis_files(live_analysis_list.unwrap(), &time_filter); } else if let Some(filepath) = &configs::CONFIG.read().unwrap().args.filepath { - if TARGET_EXTENSIONS.contains( + if !TARGET_EXTENSIONS.contains( filepath .extension() .unwrap_or_else(|| OsStr::new("."))