Skip to content

Commit

Permalink
Removed verbose output of build pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
lipkau committed Mar 1, 2019
1 parent 947628c commit fce2afb
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
2 changes: 1 addition & 1 deletion Tools/BuildTools.psm1
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ function Install-Dependency {
$Policy = (Get-PSRepository PSGallery).InstallationPolicy
try {
Set-PSRepository PSGallery -InstallationPolicy Trusted
$RequiredModules | Install-Module -Scope $Scope -Repository PSGallery -SkipPublisherCheck -AllowClobber -Verbose
$RequiredModules | Install-Module -Scope $Scope -Repository PSGallery -SkipPublisherCheck -AllowClobber
} finally {
Set-PSRepository PSGallery -InstallationPolicy $Policy
}
Expand Down
6 changes: 0 additions & 6 deletions Tools/setup.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,6 @@ if (-not ($gallery = Get-PSRepository -Name PSGallery -ErrorAction SilentlyConti
$null = Install-PackageProvider -Name NuGet -Force -ErrorAction SilentlyContinue
}

# Make PSGallery trusted, to aviod a confirmation in the console
if (-not ($gallery.Trusted)) {
Write-Host "Trusting PSGallery"
Set-PSRepository -Name "PSGallery" -InstallationPolicy Trusted -ErrorAction SilentlyContinue
}

# Update PowerShellGet if needed
if ((Get-Module PowershellGet -ListAvailable)[0].Version -lt [version]"1.6.0") {
Write-Host "Updating PowershellGet"
Expand Down

0 comments on commit fce2afb

Please sign in to comment.