katiefenn / parker

Stylesheet analysis tool.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

bootstrap file causing error with CssMediaQuery.js

cfjedimaster opened this issue · comments

I've got an older version of bootstrap.css and when I run parker on it, I get:

/usr/local/lib/node_modules/parker/lib/CssMediaQuery.js:11
queries = pattern.exec(this.raw)[1];
^
TypeError: Cannot read property '1' of null
at CssMediaQuery.getQueries (/usr/local/lib/node_modules/parker/lib/CssMediaQuery.js:11:35)
at /usr/local/lib/node_modules/parker/lib/Parker.js:46:31
at Array.forEach (native)
at Function..each..forEach (/usr/local/lib/node_modules/parker/node_modules/underscore/underscore.js:79:11)
at /usr/local/lib/node_modules/parker/lib/Parker.js:44:11
at Array.forEach (native)
at Function..each..forEach (/usr/local/lib/node_modules/parker/node_modules/underscore/underscore.js:79:11)
at runMetrics (/usr/local/lib/node_modules/parker/lib/Parker.js:38:7)
at Parker.run (/usr/local/lib/node_modules/parker/lib/Parker.js:29:16)
at stdinData (/usr/local/lib/node_modules/parker/parker.js:53:30)