Skip to content

Commit

Permalink
Fix: Author could not contain '-'
Browse files Browse the repository at this point in the history
  • Loading branch information
s-scherbinin-parc committed Feb 26, 2015
1 parent 5f5a01b commit 2659b30
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Posh-Github.psm1
Original file line number Diff line number Diff line change
Expand Up @@ -371,7 +371,7 @@ function New-GitHubPullRequest

[Parameter(Mandatory = $false)]
[string]
[ValidatePattern('^$|^\w+?:[a-zA-Z0-9\-\._]{1,40}$')]
[ValidatePattern('^$|^[\w-]+?:[a-zA-Z0-9\-\._]{1,40}$')]
[AllowNull()]
$Head = ''
)
Expand Down

0 comments on commit 2659b30

Please sign in to comment.