fix lint issue
This commit is contained in:
parent
f343fdd365
commit
c56f238cdf
@ -33,11 +33,13 @@ function Send-PRComment {
|
|||||||
|
|
||||||
[Parameter(Mandatory = $false, HelpMessage = 'Gitea user for drone bot')]
|
[Parameter(Mandatory = $false, HelpMessage = 'Gitea user for drone bot')]
|
||||||
[ValidateNotNullOrEmpty()]
|
[ValidateNotNullOrEmpty()]
|
||||||
[string]$GiteaUser= 'drone-bot'
|
[string]$GiteaUser = 'drone-bot'
|
||||||
|
|
||||||
)
|
)
|
||||||
|
|
||||||
begin {
|
begin {
|
||||||
|
# workaround for false positive PSReviewUnusedParameter
|
||||||
|
$null = $GiteaUser
|
||||||
}
|
}
|
||||||
|
|
||||||
process {
|
process {
|
||||||
|
Reference in New Issue
Block a user