Skip to content

Commit d3dce69

Browse files
author
James Brundage
committed
Updating PipeScript.ps.psd1: Adjusting exported exclusion pattern
1 parent ba7303f commit d3dce69

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

PipeScript.ps.psd1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
Author = 'James Brundage'
1313
FunctionsToExport = '' <#{
1414
$exportNames = Get-ChildItem -Recurse -Filter '*-*.ps1' |
15-
Where-Object Name -notmatch '\.ps1{0,1}\.ps1' |
15+
Where-Object Name -notmatch '\.[^\.]+\.ps1' |
1616
Foreach-Object { $_.Name.Substring(0, $_.Name.Length - $_.Extension.Length) }
1717
"'$($exportNames -join "','")'"
1818
}#>

0 commit comments

Comments
 (0)