Skip to content

Commit

Permalink
fix param mandatory
Browse files Browse the repository at this point in the history
  • Loading branch information
MariusStorhaug committed Nov 5, 2023
1 parent 9661fb6 commit 7cd82c5
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -114,8 +114,11 @@
[string] $Owner = (Get-GitHubConfig -Name Owner),

# The name of the repository.
[Parameter(
Mandatory = $false,
ParameterSetName = 'fork'
)]
[Parameter(Mandatory)]
[Parameter(ParameterSetName = 'fork')]
[string] $Name,

# The account owner of the template repository. The name is not case sensitive.
Expand Down

0 comments on commit 7cd82c5

Please sign in to comment.