Skip to content

Commit

Permalink
go static
Browse files Browse the repository at this point in the history
  • Loading branch information
mwrock committed Apr 4, 2017
1 parent 195cdb3 commit a3e2a88
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ private static void set_config_items(ChocolateyConfiguration config, ConfigFileS
// TEMP gets set in EnvironmentSettings, so it may already have
// chocolatey in the path when it installs the next package from
// the API.
if(!fileSystem.get_directory_info_for(config.CacheLocation).Name.Equals("chocolatey", StringComparer.OrdinalIgnoreCase)) {
if(!String.Equals(fileSystem.get_directory_info_for(config.CacheLocation).Name, "chocolatey", StringComparison.OrdinalIgnoreCase)) {
config.CacheLocation = fileSystem.combine_paths(fileSystem.get_temp_path(), "chocolatey");
}
}
Expand Down

0 comments on commit a3e2a88

Please sign in to comment.