Explorar el Código

removed warning

Gildas hace 6 años
padre
commit
d504c690be
Se han modificado 1 ficheros con 1 adiciones y 2 borrados
  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) {