Skip to content

Commit

Permalink
Missing break/return statements. (#2240) (#2242)
Browse files Browse the repository at this point in the history
Co-authored-by: Steven Ickman <stevenic@microsoft.com>
  • Loading branch information
stevengum and Stevenic committed May 15, 2020
1 parent 923f610 commit 325219b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions libraries/botbuilder/src/teamsActivityHandler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -163,9 +163,9 @@ export class TeamsActivityHandler extends ActivityHandler {
protected async onSignInInvoke(context: TurnContext): Promise<void> {
switch (context.activity.name) {
case verifyStateOperationName:
await this.handleTeamsSigninVerifyState(context, context.activity.value);
return await this.handleTeamsSigninVerifyState(context, context.activity.value);
case tokenExchangeOperationName:
await this.handleTeamsSigninTokenExchange(context, context.activity.value);
return await this.handleTeamsSigninTokenExchange(context, context.activity.value);
}
}

Expand Down

0 comments on commit 325219b

Please sign in to comment.