fix: support Argus publishing in Windows PowerShell

This commit is contained in:
Курнат Андрей
2026-07-17 21:55:43 +03:00
parent 2a1a53cf34
commit a800df1c8b
+4 -1
View File
@@ -68,7 +68,10 @@ function Get-PublicCatalogFlag {
param([object]$Manifest)
if ($Manifest.PSObject.Properties.Name -contains "publicCatalog") {
return if ([bool]$Manifest.publicCatalog) { "1" } else { "0" }
if ([bool]$Manifest.publicCatalog) {
return "1"
}
return "0"
}
return "1"