Skip to content

Commit

Permalink
(chocolatey#2468) Remove choco update command
Browse files Browse the repository at this point in the history
This command has been replaced by the choco upgrade command. At some
point, the choco update command will be re-instated, with the purpose of
updating the local package index of packages.
  • Loading branch information
gep13 committed Mar 14, 2022
1 parent 2c32292 commit 590a207
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 72 deletions.
3 changes: 1 addition & 2 deletions src/chocolatey/chocolatey.csproj
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
Expand Down Expand Up @@ -173,7 +173,6 @@
<Compile Include="infrastructure.app\commands\ChocolateyApiKeyCommand.cs" />
<Compile Include="infrastructure.app\commands\ChocolateySourceCommand.cs" />
<Compile Include="infrastructure.app\commands\ChocolateyUninstallCommand.cs" />
<Compile Include="infrastructure.app\commands\ChocolateyUpdateCommand.cs" />
<Compile Include="infrastructure.app\commands\ChocolateyUpgradeCommand.cs" />
<Compile Include="infrastructure.app\configuration\ChocolateySource.cs" />
<Compile Include="infrastructure.app\configuration\ConfigFileConfigSetting.cs" />
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,6 @@ public void RegisterComponents(Container container)
new ChocolateyFeatureCommand(container.GetInstance<IChocolateyConfigSettingsService>()),
new ChocolateyApiKeyCommand(container.GetInstance<IChocolateyConfigSettingsService>()),
new ChocolateyUnpackSelfCommand(container.GetInstance<IFileSystem>()),
new ChocolateyUpdateCommand(container.GetInstance<IChocolateyPackageService>()),
new ChocolateyExportCommand(container.GetInstance<INugetService>(), container.GetInstance<IFileSystem>()),
new ChocolateyTemplateCommand(container.GetInstance<ITemplateService>())
};
Expand Down

0 comments on commit 590a207

Please sign in to comment.