Ignore failures when new package isn't indexed yet. (#6674)
Co-authored-by: Wes Haggard <weshaggard@users.noreply.github.com>
This commit is contained in:
parent
a4a4e70f21
commit
05c6f48fd3
@ -99,6 +99,7 @@ jobs:
|
||||
$packageTags = npm view $packageJson.name "dist-tags" -json -silent | ConvertFrom-Json
|
||||
if ($LASTEXITCODE -ne 0 -or !$packageTags) {
|
||||
Write-Warning "Failed to retrieve dist-tags for $packageJson.name. It is possible the package hasn't been indexed yet so ignoring."
|
||||
$global:LASTEXITCODE = 0
|
||||
continue
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user