mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
remove unnecessary conditional variable in if- isEnvironmentVariable
This commit is contained in:
parent
617ef3b05d
commit
d47a1ed5a1
1 changed files with 1 additions and 1 deletions
|
|
@ -50,7 +50,7 @@ namespace Flow.Launcher.Plugin.Explorer.Search
|
||||||
// Query is a location path with a full environment variable, eg. %appdata%\somefolder\
|
// Query is a location path with a full environment variable, eg. %appdata%\somefolder\
|
||||||
var isEnvironmentVariablePath = querySearch.Substring(1).Contains("%\\");
|
var isEnvironmentVariablePath = querySearch.Substring(1).Contains("%\\");
|
||||||
|
|
||||||
if (!FilesFolders.IsLocationPathString(querySearch) && !isEnvironmentVariable && !isEnvironmentVariablePath)
|
if (!FilesFolders.IsLocationPathString(querySearch) && !isEnvironmentVariablePath)
|
||||||
return WindowsIndexFilesAndFoldersSearch(query, querySearch);
|
return WindowsIndexFilesAndFoldersSearch(query, querySearch);
|
||||||
|
|
||||||
var locationPath = querySearch;
|
var locationPath = querySearch;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue