File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Plugins/Flow.Launcher.Plugin.Explorer/Search Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -47,7 +47,7 @@ private static void LoadEnvironmentStringPaths()
47
47
48
48
foreach ( DictionaryEntry special in Environment . GetEnvironmentVariables ( ) )
49
49
{
50
- var path = special . Value . ToString ( ) ;
50
+ var path = special . Value ! . ToString ( ) ;
51
51
// we add a trailing slash to the path to make sure drive paths become valid absolute paths.
52
52
// for example, if %systemdrive% is C: we turn it to C:\
53
53
path = path . EnsureTrailingSlash ( ) ;
@@ -61,7 +61,7 @@ private static void LoadEnvironmentStringPaths()
61
61
{
62
62
// Variables are returned with a mixture of all upper/lower case.
63
63
// Call ToUpper() to make the results look consistent
64
- _envStringPaths . Add ( special . Key . ToString ( ) . ToUpper ( ) , path ) ;
64
+ _envStringPaths . Add ( special . Key . ToString ( ) ! . ToUpper ( ) , path ) ;
65
65
}
66
66
}
67
67
}
You can’t perform that action at this time.
0 commit comments