Skip to content

Commit

Permalink
(GH-47) Note the operation is update for upgrade
Browse files Browse the repository at this point in the history
  • Loading branch information
ferventcoder committed Feb 1, 2015
1 parent 8c96954 commit 70a8d13
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/chocolatey/infrastructure.app/services/NugetService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -353,7 +353,7 @@ public ConcurrentDictionary<string, PackageResult> upgrade_run(ChocolateyConfigu
if (config.RegularOuptut) this.Log().Error(ChocolateyLoggers.Important, logMessage);
continue;
}

var pkgInfo = _packageInfoService.get_package_information(installedPackage);
if (pkgInfo != null && pkgInfo.IsPinned)
{
Expand Down Expand Up @@ -416,7 +416,7 @@ public ConcurrentDictionary<string, PackageResult> upgrade_run(ChocolateyConfigu
if (performAction)
{
using (packageManager.SourceRepository.StartOperation(
RepositoryOperationNames.Install,
RepositoryOperationNames.Update,
packageName,
version == null ? null : version.ToString()))
{
Expand Down

0 comments on commit 70a8d13

Please sign in to comment.