Closed rtm closed 8 years ago
suitcss fails on an empty import file, with the backtrace
suitcss
error · TypeError: Cannot read property 'comment' of undefined · at conformance (usr/local/npm/node_modules/suitcss-preprocessor/node_modules/rework-suit/node_modules/rework-suit-conformance/index.js:29:36)
etc. Is this expected behavior?
Can be reproduced with suitcss foo.css, where foo.css is @import "./bar/css"; and bar.css is an empty file (zero-length).
suitcss foo.css
foo.css
@import "./bar/css";
bar.css
suitcss
fails on an empty import file, with the backtraceetc. Is this expected behavior?
Can be reproduced with
suitcss foo.css
, wherefoo.css
is@import "./bar/css";
andbar.css
is an empty file (zero-length).