Skip to content

Commit 363ec09

Browse files
committed
Fix BuildHelpers environment variable. $env:BHPSModulePath was removed in favor of $env:BHModulePath
1 parent 7e92d5e commit 363ec09

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Tests/Meta/Help.tests.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# Get module commands
44
# Remove all versions of the module from the session. Pester can't handle multiple versions.
55
Get-Module $env:BHProjectName | Remove-Module
6-
Import-Module $env:BHPSModulePath -Verbose:$false -ErrorAction Stop
6+
Import-Module $env:BHModulePath -Verbose:$false -ErrorAction Stop
77
$moduleVersion = (Test-ModuleManifest $env:BHPSModuleManifest | select -ExpandProperty Version).ToString()
88
$ms = [Microsoft.PowerShell.Commands.ModuleSpecification]@{ ModuleName = $env:BHProjectName; RequiredVersion = $moduleVersion }
99
$commands = Get-Command -FullyQualifiedModule $ms -CommandType Cmdlet, Function, Workflow # Not alias

0 commit comments

Comments
 (0)