CSSLint: code cosmetics

This commit is contained in:
tophf 2019-01-30 09:45:00 +03:00
parent ded40b7aba
commit 3636c19151

View File

@ -263,7 +263,8 @@ var CSSLint = (() => {
if (!m) return;
const nextLine = () => {
eol = (text.indexOf('\n', eol + 1) + 1 || text.length + 1) - 1;
eol = text.indexOf('\n', eol + 1);
if (eol < 0) eol = text.length;
lineno++;
};