File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 9797 if ($missingDownloads.Count -gt 0 ) {
9898 if ($AllowPartial ) {
9999 Write-Warning " Skipping $ ( $missingDownloads.Count ) specs with missing downloads (CDN links may be stale): $ ( $missingDownloads -join ' , ' ) "
100+ Write-Host ' Skipped specs (missing downloads):'
101+ foreach ($protocolId in $missingDownloads ) {
102+ Write-Host " - $protocolId "
103+ }
100104 $catalog = $catalog | Where-Object { $downloadedProtocolIds.Contains ($_.ProtocolId ) }
101105 }
102106 else {
@@ -139,7 +143,16 @@ try {
139143
140144 $missingPublished = @ ($catalog | Where-Object { -not $publishedProtocolIds.Contains ($_.ProtocolId ) } | Select-Object - ExpandProperty ProtocolId - Unique | Sort-Object )
141145 if ($missingPublished.Count -gt 0 ) {
142- throw " Missing converted output for $ ( $missingPublished.Count ) specs: $ ( $missingPublished -join ' , ' ) "
146+ if ($AllowPartial ) {
147+ Write-Warning " Skipping $ ( $missingPublished.Count ) specs with missing converted output: $ ( $missingPublished -join ' , ' ) "
148+ Write-Host ' Skipped specs (missing converted output):'
149+ foreach ($protocolId in $missingPublished ) {
150+ Write-Host " - $protocolId "
151+ }
152+ }
153+ else {
154+ throw " Missing converted output for $ ( $missingPublished.Count ) specs: $ ( $missingPublished -join ' , ' ) "
155+ }
143156 }
144157
145158 $legalSource = Join-Path (Join-Path $convPath ' _legal' ) ' LEGAL.md'
You can’t perform that action at this time.
0 commit comments