Commit e1fe0b8
committed
Use condition shorthand for return in getFirstMentionedUser()
- Use condition shorthand syntax for return statements in function getFirstMentionedUser()
- Fixed logic error for collection length checking, collection length is never negative
- Bumped version to v2.3.0-beta11 parent 47e48a6 commit e1fe0b8
2 files changed
+2
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
892 | 892 | | |
893 | 893 | | |
894 | 894 | | |
895 | | - | |
896 | | - | |
897 | | - | |
898 | | - | |
| 895 | + | |
899 | 896 | | |
900 | 897 | | |
901 | 898 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
0 commit comments