Skip to content

Commit

Permalink
Fix InstallVersion method
Browse files Browse the repository at this point in the history
  • Loading branch information
alerickson committed Jan 17, 2024
1 parent 8840de4 commit a3e4a99
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/code/ACRServerAPICalls.cs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@
using System.Text;
using System.Security.Cryptography;
using System.Text.Json;
using NuGet.Packaging;

namespace Microsoft.PowerShell.PSResourceGet
{
Expand Down Expand Up @@ -558,14 +557,14 @@ public override Stream InstallPackage(string packageName, string packageVersion,

private Stream InstallVersion(
string moduleName,
string moduleVersion,
out ErrorRecord errRecord)
{
errRecord = null;
string accessToken = string.Empty;
string tenantID = string.Empty;
string tempPath = Path.Combine(Path.GetTempPath(), Guid.NewGuid().ToString());
Directory.CreateDirectory(tempPath);
string moduleVersion = String.Empty;

var repositoryCredentialInfo = Repository.CredentialInfo;
if (repositoryCredentialInfo != null)
Expand Down

0 comments on commit a3e4a99

Please sign in to comment.