mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-02 03:55:55 +01:00
dont exist if cant parse css
This commit is contained in:
@@ -51,7 +51,7 @@ module.exports = function(Meta) {
|
||||
parser.parse(source, function(err, tree) {
|
||||
if (err) {
|
||||
winston.error('[meta/css] Could not minify LESS/CSS: ' + err.message);
|
||||
process.exit();
|
||||
return;
|
||||
}
|
||||
|
||||
var css = tree.toCSS({
|
||||
|
||||
Reference in New Issue
Block a user