소스 검색

fixes eslint warning

Gildas 7 년 전
부모
커밋
99d55dfb18
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      lib/single-file/css-matched-rules.js

+ 1 - 1
lib/single-file/css-matched-rules.js

@@ -127,7 +127,7 @@ this.matchedRules = this.matchedRules || (() => {
 				matchedElements = doc.querySelectorAll(selectorText);
 			} catch (error) {
 				// ignored
-				console.warn("(SingleFile) Invalid selector", selectorText);
+				console.warn("(SingleFile) Invalid selector", selectorText); // eslint-disable-line no-console
 			}
 		}
 		if (matchedElements) {