Explorar o código

removed warning

Gildas %!s(int64=6) %!d(string=hai) anos
pai
achega
d504c690be
Modificáronse 1 ficheiros con 1 adicións e 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) {