mirror of
https://github.com/nasa/openmct.git
synced 2024-12-19 05:07:52 +00:00
[Build] Gracefully handle sass error
https://github.com/nasa/openmctweb/issues/698
This commit is contained in:
parent
bd7ad85bd7
commit
88945c48d4
@ -87,7 +87,7 @@ gulp.task('test', function (done) {
|
||||
|
||||
gulp.task('stylesheets', function () {
|
||||
return gulp.src(paths.scss, {base: '.'})
|
||||
.pipe(sass(options.sass))
|
||||
.pipe(sass(options.sass).on('error', sass.logError))
|
||||
.pipe(rename(function (file) {
|
||||
file.dirname = file.dirname.replace('/sass', '/css');
|
||||
return file;
|
||||
|
Loading…
Reference in New Issue
Block a user