File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed
Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -43,7 +43,7 @@ Vagrant.configure("2") do |config|
4343 Write-Host "Running $runner";
4444 $random = -join ((48..57) + (97..122) | Get-Random -Count 8 | % {[char]$_});
4545 Expand-Archive -LiteralPath ${GITHUB_RUNNER_FILE} -DestinationPath runner-$random -Force;
46- if (![string]::IsNullOrEmpty(${PAT})) {
46+ if (![string]::IsNullOrEmpty(" ${PAT}" )) {
4747 Invoke-Expression -Command "C:\\ runner-$random\\ config.cmd --name ${GITHUB_RUNNER_NAME}_$random --replace --unattended --url ${RUNNER_URL} --labels ${GITHUB_RUNNER_LABELS} --pat ${PAT}";
4848 } else {
4949 Invoke-Expression -Command "C:\\ runner-$random\\ config.cmd --name ${GITHUB_RUNNER_NAME}_$random --replace --unattended --url ${RUNNER_URL} --labels ${GITHUB_RUNNER_LABELS} --token ${TOKEN}";
You can’t perform that action at this time.
0 commit comments