Skip to content

Commit 1da96dc

Browse files
author
James Brundage
committed
fix: Not re-importing in ExamplesShouldWork
1 parent f202ec6 commit 1da96dc

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

Build/PipeScript.ExamplesShouldWork.build.ps1

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -28,12 +28,6 @@ $ModuleName = 'PipeScript'
2828

2929
$moduleInfo = Get-Module $ModuleName
3030

31-
# Reload the module, because commands may have been created since this process first launched.
32-
$psd1Path = $moduleInfo.Path -replace '\.psm1','.psd1'
33-
if (Test-path $psd1Path) {
34-
Import-Module $psd1Path -Global -Force
35-
}
36-
3731
$commandsInModule = Get-Command -Module $moduleName
3832

3933
$commandsWithExamples = $commandsInModule | Where-Object { $_.Examples }

0 commit comments

Comments
 (0)