You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(builtins): prevent erb_lint false header match (#153)
An output:match is performed to detect the header of the linter output to exclude it from being injected into the buffer.
However, it matches on ==, which is also a legitimate Ruby operator.
When == is encountered in the code, it causes the buffer up to and including that operator to be deleted.
Because the linter output uses 16 = symbols in its header, adding an additional == to the match will still work while not causing false matches with legitimate uses of ==.
0 commit comments