Skip to content

Commit

Permalink
refactor: remove the redundant-jump code (#807)
Browse files Browse the repository at this point in the history
  • Loading branch information
parasss19 authored Oct 9, 2023
1 parent 229aa2f commit c54659d
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions library/src/helpers/message.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,6 @@ export class MessageHelpers {
if (payload?.examples()) {
return payload.examples()?.map(example => ({ example }));
}

return;
}

Expand Down Expand Up @@ -87,7 +86,6 @@ export class MessageHelpers {
if (headers?.examples()) {
return headers.examples()?.map(example => ({ example }));
}

return;
return undefined;
}
}

0 comments on commit c54659d

Please sign in to comment.