Skip to content

Commit 67ae8e5

Browse files
committed
remove duplicate env variable check method
1 parent a318bcb commit 67ae8e5

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

Plugins/Flow.Launcher.Plugin.Explorer/Search/SearchManager.cs

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -247,12 +247,5 @@ private bool UseWindowsIndexForDirectorySearch(string locationPath)
247247
x => FilesFolders.ReturnPreviousDirectoryIfIncompleteString(pathToDirectory).StartsWith(x.Path, StringComparison.OrdinalIgnoreCase))
248248
&& WindowsIndex.WindowsIndex.PathIsIndexed(pathToDirectory);
249249
}
250-
251-
internal static bool IsEnvironmentVariableSearch(string search)
252-
{
253-
return search.StartsWith("%")
254-
&& search != "%%"
255-
&& !search.Contains('\\');
256-
}
257250
}
258251
}

0 commit comments

Comments
 (0)