make windows work with account files containing spaces

This commit is contained in:
Megan Marsh 2020-05-06 15:08:49 -07:00
parent dae60799bc
commit 60600e6cf6
1 changed files with 1 additions and 1 deletions

View File

@ -191,7 +191,7 @@ gcloud config set project {{.ProjectID}}
` `
if runtime.GOOS == "windows" { if runtime.GOOS == "windows" {
launchTemplate = ` launchTemplate = `
call gcloud auth activate-service-account --key-file {{.AccountFile}} call gcloud auth activate-service-account --key-file "{{.AccountFile}}"
call gcloud config set project {{.ProjectID}} call gcloud config set project {{.ProjectID}}
call {{.Args}} call {{.Args}}
` `