Skip to content
This repository has been archived by the owner on Dec 9, 2024. It is now read-only.

fix: Exit process when error logging into Azure #192

Merged
merged 2 commits into from
Jul 9, 2019
Merged

Conversation

tbarlow12
Copy link
Contributor

No description provided.

Copy link
Contributor

@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
Contributor

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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants