Explorar el Código

fixes eslint warning

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