Skip to content

Commit

Permalink
(maint) formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
ferventcoder committed Apr 10, 2020
1 parent 1f0b866 commit 0d84033
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
3 changes: 1 addition & 2 deletions src/chocolatey/GetChocolatey.cs
Original file line number Diff line number Diff line change
Expand Up @@ -395,7 +395,7 @@ public int ListCount()
public ChocolateyConfiguration GetConfiguration()
{
ensure_environment();

// ensure_original_configuration() already calls create_configuration()
// so no need to repeat, just grab the result
var configuration = ensure_original_configuration(
Expand Down Expand Up @@ -475,7 +475,6 @@ private ChocolateyConfiguration create_configuration(IList<string> args)
configuration.PromptForConfirmation = false;
configuration.AcceptLicense = true;


if (_propConfig != null)
{
_propConfig.Invoke(configuration);
Expand Down
1 change: 0 additions & 1 deletion src/chocolatey/infrastructure.app/services/NugetService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -694,7 +694,6 @@ public virtual ConcurrentDictionary<string, PackageResult> upgrade_run(Chocolate
}

IPackage availablePackage = NugetList.find_package(packageName, version, config, packageManager.SourceRepository);


config.Prerelease = originalPrerelease;

Expand Down

0 comments on commit 0d84033

Please sign in to comment.