Skip to content

Commit

Permalink
Fixed: progress bars are still showing under Linux when installing Pa…
Browse files Browse the repository at this point in the history
…ckageManagement and PowerShellGet modules.
  • Loading branch information
splatteredbits committed Nov 22, 2019
1 parent 4f4187d commit 1b59bbb
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Whiskey/Functions/Resolve-WhiskeyPowerShellModule.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,12 @@ function Resolve-WhiskeyPowerShellModule
# Install Package Management modules in the background so we can load the new versions. These modules use
# assemblies so once you load an old version, you have to re-launch your process to load a newer version.
Start-Job -ScriptBlock {
$ErrorActionPreference = $using:ErrorActionPreference
$VerbosePreference = $using:VerbosePreference
$InformationPreference = $using:InformationPreference
$DebugPreference = $using:DebugPreference
$ProgressPreference = $using:ProgressPreference

$modulesToInstall = $using:modulesToInstall
$modulesRoot = $using:modulesRoot

Expand Down

0 comments on commit 1b59bbb

Please sign in to comment.