Skip to content

Commit

Permalink
R Austin review: direct return
Browse files Browse the repository at this point in the history
  • Loading branch information
Brent Kimmel committed May 18, 2020
1 parent 7e85044 commit c06da13
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion x-pack/plugins/endpoint/common/models/event.ts
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ export function eventType(event: ResolverEvent): string {
if (isLegacyEvent(event)) {
const legacyFullType = event.endgame.event_type_full;
if (legacyFullType) {
eventCategoryToReturn = legacyFullType;
return legacyFullType;
}
} else {
const eventCategories = event.event.category;
Expand Down

0 comments on commit c06da13

Please sign in to comment.