[macos] supress nonsignificant powershell warning (#7985)

veertu-anka-vm-clone.template: Installing Xcode versions...
    veertu-anka-vm-clone.template: WARNING: The names of some imported commands from the module 'Xcode.Installer' include unapproved verbs that might make them less discoverable. To find the commands with unapproved verbs, run the Import-Module command again with the Verbose parameter. For a list of approved verbs, type Get-Verb.
    veertu-anka-vm-clone.template: WARNING: The names of some imported commands from the module 'Xcode.Installer' include unapproved verbs that might make them less discoverable. To find the commands with unapproved verbs, run the Import-Module command again with the Verbose parameter. For a list of approved verbs, type Get-Verb.
    veertu-anka-vm-clone.template: WARNING: The names of some imported commands from the module 'Xcode.Installer' include unapproved verbs that might make them less discoverable. To find the commands with unapproved verbs, run the Import-Module command again with the Verbose parameter. For a list of approved verbs, type Get-Verb.
    veertu-anka-vm-clone.template: WARNING: The names of some imported commands from the module 'Xcode.Installer' include unapproved verbs that might make them less discoverable. To find the commands with unapproved verbs, run the Import-Module command again with the Verbose parameter. For a list of approved verbs, type Get-Verb.
    veertu-anka-vm-clone.template: WARNING: The names of some imported commands from the module 'Xcode.Installer' include unapproved verbs that might make them less discoverable. To find the commands with unapproved verbs, run the Import-Module command again with the Verbose parameter. For a list of approved verbs, type Get-Verb.
This commit is contained in:
ilia-shipitsin
2023-07-26 17:41:57 +02:00
committed by GitHub
parent 27d2a9eb47
commit 52b92ff310

View File

@@ -1,7 +1,7 @@
$ErrorActionPreference = "Stop"
Import-Module "$env:HOME/image-generation/helpers/Common.Helpers.psm1"
Import-Module "$env:HOME/image-generation/helpers/Xcode.Installer.psm1"
Import-Module "$env:HOME/image-generation/helpers/Xcode.Installer.psm1" -DisableNameChecking
# Spaceship Apple ID login fails due to Apple ID prompting to be upgraded to 2FA.
# https://github.com/fastlane/fastlane/pull/18116
@@ -19,7 +19,7 @@ Write-Host "Installing Xcode versions..."
$xcodeVersions | ForEach-Object -ThrottleLimit $threadCount -Parallel {
$ErrorActionPreference = "Stop"
Import-Module "$env:HOME/image-generation/helpers/Common.Helpers.psm1"
Import-Module "$env:HOME/image-generation/helpers/Xcode.Installer.psm1"
Import-Module "$env:HOME/image-generation/helpers/Xcode.Installer.psm1" -DisableNameChecking
Install-XcodeVersion -Version $_.version -LinkTo $_.link
Confirm-XcodeIntegrity -Version $_.link