Skip to content

Commit

Permalink
cleaned up build script, final push
Browse files Browse the repository at this point in the history
  • Loading branch information
scrthq committed Sep 13, 2019
1 parent fe997cf commit 8f51f4f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ else {
$env:BuildScriptPath = $PSScriptRoot
$env:NoNugetRestore = $NoRestore

Invoke-CommandWithLog {$PSDefaultParameterValues = @{
Invoke-CommandWithLog {$global:PSDefaultParameterValues = @{
'*-Module:Verbose' = $false
'Import-Module:ErrorAction' = 'Stop'
'Import-Module:Force' = $true
Expand All @@ -64,7 +64,7 @@ else {
PowerShellGet = '2.2.1'
}
$modHash.GetEnumerator() | ForEach-Object {
Install-Module $_.Key -MinimumVersion $_.Value
Install-Module $_.Key -MinimumVersion $_.Value -Repository PSGallery -Force
}

Add-Heading "Finalizing build prerequisites"
Expand Down

0 comments on commit 8f51f4f

Please sign in to comment.