Skip to content

Commit bed9b75

Browse files
author
Robin Stolpe
committed
Added validation on StartService param
Missed to add validation on StartService parameter when I did revert it back from bool, It's fixed now.
1 parent b860d44 commit bed9b75

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

azure-self-hosted-runners/post-deployment-script.ps1

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ param (
1414
[string]$GithubActionsRunnerName,
1515

1616
[Parameter(Mandatory = $false, HelpMessage = "Stop Service immediately (useful for spinning up runners preemptively)")]
17+
[ValidateSet('true', 'false')]
1718
[string]$StopService = 'true',
1819

1920
[Parameter(Mandatory = $true, HelpMessage = "Path to the Actions Runner. Keep this path short to prevent Long Path issues, e.g. D:\a")]

0 commit comments

Comments
 (0)