Skip to content

Commit

Permalink
Use --prefer-online to install package after publish (#5022)
Browse files Browse the repository at this point in the history
  • Loading branch information
hallipr authored Aug 27, 2024
1 parent 67250bd commit ca6a9d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion eng/PublishRelease.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ try {
$maxAttempts = 4
while($true) {
Write-Host "Installing @autorest/csharp@$autorestVersion and updating package.json"
npm install @autorest/csharp@$autorestVersion --save-exact
npm install @autorest/csharp@$autorestVersion --save-exact --prefer-online
$attemptCount += 1

if($LASTEXITCODE -eq 0) {
Expand Down

0 comments on commit ca6a9d7

Please sign in to comment.