Skip to content

Commit

Permalink
Fixed: using wrong variable name for default PowerShell modules insta…
Browse files Browse the repository at this point in the history
…ll directory.
  • Loading branch information
splatteredbits committed Nov 22, 2019
1 parent 1b59bbb commit 151d911
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Whiskey/Functions/Resolve-WhiskeyPowerShellModule.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ function Resolve-WhiskeyPowerShellModule
}

Import-WhiskeyPowerShellModule -Name 'PackageManagement','PowerShellGet' `
-PSModulesRoot (Join-Path -Path $BuildRoot -ChildPath $psModulesDirectoryName)
-PSModulesRoot (Join-Path -Path $BuildRoot -ChildPath $powershellModulesDirectoryName)

Write-WhiskeyDebug -Message ('{0} {1} ->' -f $Name,$Version)
if( $Version )
Expand Down
2 changes: 1 addition & 1 deletion Whiskey/Tasks/GetPowerShellModule.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ function Get-WhiskeyPowerShellModule
return
}

$destination = Join-Path -Path $TaskContext.BuildRoot -ChildPath $psModulesDirectoryName
$destination = Join-Path -Path $TaskContext.BuildRoot -ChildPath $powershellModulesDirectoryName
if( $Path )
{
$destination = $Path
Expand Down

0 comments on commit 151d911

Please sign in to comment.