Skip to content

Commit

Permalink
Set default value for Direction parameter in Get-GitHubRepository fun…
Browse files Browse the repository at this point in the history
…ction
  • Loading branch information
MariusStorhaug committed Dec 15, 2024
1 parent ec454f1 commit ad4a110
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ filter Get-GitHubRepository {
[Parameter(ParameterSetName = 'ListByOrg')]
[Parameter(ParameterSetName = 'ListByUser')]
[ValidateSet('asc', 'desc')]
[string] $Direction,
[string] $Direction = 'asc',

# The number of results per page (max 100).
[Parameter(ParameterSetName = 'MyRepos')]
Expand Down

0 comments on commit ad4a110

Please sign in to comment.