Kaynağa Gözat

removed warning

Gildas 6 yıl önce
ebeveyn
işleme
d504c690be
1 değiştirilmiş dosya ile 1 ekleme ve 2 silme
  1. 1 2
      lib/single-file/modules/css-matched-rules.js

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

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