Update Xcode.Helpers.psm1

This commit is contained in:
Maxim Lobanov
2020-10-02 08:05:11 +03:00
parent da68de0a09
commit fc8383a81e

View File

@@ -46,7 +46,10 @@ function Switch-Xcode {
} }
function Test-XcodeStableRelease { function Test-XcodeStableRelease {
param([string] $XcodeRootPath) param(
[Parameter(Mandatory)]
[string] $XcodeRootPath
)
$licenseInfoPlistPath = Join-Path $XcodeRootPath "Contents" "Resources" "LicenseInfo.plist" $licenseInfoPlistPath = Join-Path $XcodeRootPath "Contents" "Resources" "LicenseInfo.plist"
$releaseType = & defaults read $licenseInfoPlistPath "licenseType" $releaseType = & defaults read $licenseInfoPlistPath "licenseType"