Skip to content

Commit cfdbd19

Browse files
committed
Remove variable and use returned dictionary directly
1 parent 64de0ce commit cfdbd19

File tree

1 file changed

+1
-2
lines changed
  • Plugins/Flow.Launcher.Plugin.Folder

1 file changed

+1
-2
lines changed

Plugins/Flow.Launcher.Plugin.Folder/Main.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -167,8 +167,7 @@ private void LoadEnvironmentStringPaths()
167167
{
168168
_envStringPaths = new Dictionary<string, string>();
169169

170-
var specialPaths = System.Environment.GetEnvironmentVariables();
171-
foreach (DictionaryEntry special in specialPaths)
170+
foreach (DictionaryEntry special in Environment.GetEnvironmentVariables())
172171
{
173172
if (Directory.Exists(special.Value.ToString()))
174173
{

0 commit comments

Comments
 (0)