feat: add new built-in condition for line ending#597
feat: add new built-in condition for line ending#597L3MON4D3 merged 2 commits intoL3MON4D3:masterfrom
Conversation
|
Hey, nice 👍 |
|
Working on #612, I've looked at this code again. Is there any reason why you're just comparing the amount of characters in the string? (comparing strings in lua should be as cheap as a pointer comparison afaik) |
|
Mhmm, well number of characters works because both strings are the same line, so same lengths <=> same string. |
|
Alright, then I guess I'll do this change in #612 (or new PR?) |
|
Amend it, different commit, same PR is alright |
Closes #592