From c8aa02514c246fcfd1617a27b21e4e6d56a77539 Mon Sep 17 00:00:00 2001 From: vijayp23 Date: Sun, 20 Dec 2020 18:01:24 +0530 Subject: [PATCH] Update index.js --- index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/index.js b/index.js index 69e85b5..f328c34 100644 --- a/index.js +++ b/index.js @@ -35,9 +35,9 @@ async function run() { core.startGroup('deploy google app engine'); if (isDebug) { - console.log(`gcloud app deploy ${noCache ? '--no-cache'} --appyaml=${configFile} --project=${projectId} ${serviceVersion} --promote --stop-previous-version`); + console.log(`gcloud app deploy ${noCache ? '--no-cache':''} --appyaml=${configFile} --project=${projectId} ${serviceVersion} --promote --stop-previous-version`); } else { - execSync(`gcloud app deploy ${noCache ? '--no-cache'} --appyaml=${configFile} --project=${projectId} ${versionFlag} --promote --stop-previous-version`, { stdio: 'inherit' }); + execSync(`gcloud app deploy ${noCache ? '--no-cache':''} --appyaml=${configFile} --project=${projectId} ${versionFlag} --promote --stop-previous-version`, { stdio: 'inherit' }); } core.endGroup(); }