Skip to content

Commit 7c3ef31

Browse files
feat(Set-BuildEnvironment): Allow '_' character for VariableNamePrefix parameter
Fixes #139
1 parent 5b712c4 commit 7c3ef31

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

BuildHelpers/Public/Set-BuildEnvironment.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ function Set-BuildEnvironment {
8787
[validatescript({ Test-Path $_ -PathType Container })]
8888
$Path = $PWD.Path,
8989

90-
[ValidatePattern('\w*')]
90+
[ValidatePattern('(\w|_)*')]
9191
[String]
9292
$VariableNamePrefix = 'BH',
9393

0 commit comments

Comments
 (0)