dont exist if cant parse css

v1.18.x
barisusakli 11 years ago
parent 4ab6a5d4b2
commit 43c1787754

@ -51,7 +51,7 @@ module.exports = function(Meta) {
parser.parse(source, function(err, tree) { parser.parse(source, function(err, tree) {
if (err) { if (err) {
winston.error('[meta/css] Could not minify LESS/CSS: ' + err.message); winston.error('[meta/css] Could not minify LESS/CSS: ' + err.message);
process.exit(); return;
} }
var css = tree.toCSS({ var css = tree.toCSS({

Loading…
Cancel
Save