serverless / platform-sdk

Serverless Platform SDK
Apache License 2.0
17 stars 7 forks source link

[XXxxxxx] - Don't write to config file if the tenant name has not been populated in the scenario of a new user #48

Closed westergaards closed 5 years ago

westergaards commented 5 years ago

Without the following check the tenant "tenantname" will be picked up from the yml and cause an unauthorized error for the tenant. We should avoid this.

plfx commented 5 years ago

Good idea

westergaards commented 5 years ago

Added the check to close the cli when the user has not completed the setup process

plfx commented 5 years ago

Looks good to me as a code change. @westergaards The required codecov check is unhappy with it.