Browse Source

Exit process when not logged into GCP and trying to deploy

master
Leo Lamprecht 7 years ago
parent
commit
18cfb8ce75
  1. 2
      src/providers/gcp/util/get-access-token.js

2
src/providers/gcp/util/get-access-token.js

@ -26,6 +26,8 @@ const getAccessToken = async ctx => {
if (credentialsIndex === -1) {
console.log(error(`You're not logged in! Run ${cmd('now gcp login')}.`))
process.exit(1)
return
}

Loading…
Cancel
Save