Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Exit process when error logging into Azure #192

Merged
merged 2 commits into from
Jul 9, 2019
Merged

Conversation

tbarlow12
Copy link
Collaborator

No description provided.

Copy link
Member

@wbreza wbreza left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good - Please add a unit test to verify before commuting.

@@ -33,6 +33,7 @@ export class AzureLoginPlugin {
catch (e) {
this.serverless.cli.log("Error logging into azure");
this.serverless.cli.log(`${e}`);
process.exit(0);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we add a unit test to validate this behavior?

@tbarlow12 tbarlow12 merged commit 11c80b3 into dev Jul 9, 2019
@tbarlow12 tbarlow12 deleted the tabarlow/login-fail branch July 9, 2019 21:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants