Fix drone build pipeline #1
@ -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