Browse Source

fix: remove unused comparison code

pull/713/head
ocavue 4 years ago
committed by Alex Kocharin
parent
commit
b979ca01d5
  1. 4
      lib/rules_inline/balance_pairs.js

4
lib/rules_inline/balance_pairs.js

@ -38,9 +38,7 @@ function processDelimiters(state, delimiters) {
if (newMinOpenerIdx === -1) newMinOpenerIdx = openerIdx;
if (opener.open &&
opener.end < 0 &&
opener.level === closer.level) {
if (opener.open && opener.end < 0) {
isOddMatch = false;

Loading…
Cancel
Save