mirror of
https://github.com/nasa/openmct.git
synced 2025-01-31 08:25:31 +00:00
Merge pull request #697 from nasa/handle-scss-errors
[Build] Gracefully handle scss errors
This commit is contained in:
commit
87934df0d5
18
gulpfile.js
18
gulpfile.js
@ -90,17 +90,15 @@ function customCompass() {
|
||||
css: baseDir + 'css/',
|
||||
comments: true,
|
||||
bundle_exec: true
|
||||
},
|
||||
compassObj;
|
||||
};
|
||||
|
||||
compassObj = compass(options);
|
||||
compassObj.on('data', function (file) {
|
||||
this.push(file);
|
||||
}.bind(this));
|
||||
compassObj.on('end', function () {
|
||||
done();
|
||||
});
|
||||
compassObj.end(chunk);
|
||||
compass(options)
|
||||
.on('data', function (file) {
|
||||
this.push(file);
|
||||
}.bind(this))
|
||||
.on('error', done)
|
||||
.on('end', done)
|
||||
.end(chunk);
|
||||
};
|
||||
return compassWrapper;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user