Skip to content

Commit 5d633f5

Browse files
author
James Brundage
committed
fix: Reimporting module in ExamplesShouldWork.build.ps1
Only getting examples for functions
1 parent 2facd2b commit 5d633f5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Build/PipeScript.ExamplesShouldWork.build.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ if (Test-path $psd1Path) {
3434
Import-Module $psd1Path -Global -Force
3535
}
3636

37-
$commandsInModule = Get-Command -Module $moduleName -CommandType All
37+
$commandsInModule = Get-Command -Module $moduleName
3838

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

0 commit comments

Comments
 (0)