Skip to content

Commit 52b92ff

Browse files
[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.
1 parent 27d2a9e commit 52b92ff

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

images/macos/provision/core/xcode.ps1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
$ErrorActionPreference = "Stop"
22

33
Import-Module "$env:HOME/image-generation/helpers/Common.Helpers.psm1"
4-
Import-Module "$env:HOME/image-generation/helpers/Xcode.Installer.psm1"
4+
Import-Module "$env:HOME/image-generation/helpers/Xcode.Installer.psm1" -DisableNameChecking
55

66
# Spaceship Apple ID login fails due to Apple ID prompting to be upgraded to 2FA.
77
# https://github.com/fastlane/fastlane/pull/18116
@@ -19,7 +19,7 @@ Write-Host "Installing Xcode versions..."
1919
$xcodeVersions | ForEach-Object -ThrottleLimit $threadCount -Parallel {
2020
$ErrorActionPreference = "Stop"
2121
Import-Module "$env:HOME/image-generation/helpers/Common.Helpers.psm1"
22-
Import-Module "$env:HOME/image-generation/helpers/Xcode.Installer.psm1"
22+
Import-Module "$env:HOME/image-generation/helpers/Xcode.Installer.psm1" -DisableNameChecking
2323

2424
Install-XcodeVersion -Version $_.version -LinkTo $_.link
2525
Confirm-XcodeIntegrity -Version $_.link

0 commit comments

Comments
 (0)