diff --git a/src/chocolatey/infrastructure.app/services/NugetService.cs b/src/chocolatey/infrastructure.app/services/NugetService.cs index 720fe47ca6..50ed933cc6 100644 --- a/src/chocolatey/infrastructure.app/services/NugetService.cs +++ b/src/chocolatey/infrastructure.app/services/NugetService.cs @@ -253,13 +253,6 @@ public ConcurrentDictionary install_run(ChocolateyConfigu foreach (string packageName in packageNames.or_empty_list_if_null()) { - if (packageName.to_lower().EndsWith(".config")) - { - //todo: determine if .config file for packages .config - //todo: determine if config file exists - } - else - { //todo: get smarter about realizing multiple versions have been installed before and allowing that remove_existing_rollback_directory(packageName); @@ -304,7 +297,6 @@ public ConcurrentDictionary install_run(ChocolateyConfigu packageManager.InstallPackage(availablePackage, config.IgnoreDependencies, config.Prerelease); //packageManager.InstallPackage(packageName, version, configuration.IgnoreDependencies, configuration.Prerelease); } - } } return packageInstalls;