File tree 1 file changed +3
-1
lines changed 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -105,6 +105,8 @@ function Assert-Module {
105
105
RequiredVersion = $moduleSpec.Version
106
106
Force = $true
107
107
Scope = ' CurrentUser'
108
+ Verbose = $false
109
+ Debug = $false
108
110
}
109
111
if ($installModuleParams.Name -eq ' Pester' ) {
110
112
$installModuleParams.SkipPublisherCheck = $true
@@ -114,7 +116,7 @@ function Assert-Module {
114
116
# We could do a symbolic link or point both instances to the same PSModulePath but there are some potential risks so we go slow in the name of safety.
115
117
if ($otherPowerShell ) {
116
118
Write-Verbose " PREREQUISITE: Installing Missing Module $ ( $moduleSpec.Name ) $ ( $moduleSpec.RequiredVersion ) ($otherPowerShell )"
117
- & $otherPowershell - noprofile - c " Install-Module -Name $ ( $moduleSpec.Name ) -RequiredVersion $ ( $moduleSpec.RequiredVersion ) -Force -Scope CurrentUser -ErrorAction Stop -SkipPublisherCheck"
119
+ & $otherPowershell - noprofile - c " Install-Module -Name $ ( $moduleSpec.Name ) -RequiredVersion $ ( $moduleSpec.RequiredVersion ) -Force -Scope CurrentUser -ErrorAction Stop -SkipPublisherCheck -Verbose: `$ false -Debug: `$ false "
118
120
}
119
121
continue
120
122
} else {
You can’t perform that action at this time.
0 commit comments