Skip to content

Latest commit

 

History

History
5 lines (4 loc) · 217 Bytes

File metadata and controls

5 lines (4 loc) · 217 Bytes
@rocket.chat/message-parser patch

Replaces wasteful filter().shift() with find(Boolean) in extractFirstResult to avoid allocating an intermediate filtered array just to get the first truthy element.