From c2713d76327230f6e481a88930d132d504627729 Mon Sep 17 00:00:00 2001 From: Jan Jastrow Date: Wed, 9 Dec 2020 00:08:27 +0100 Subject: [PATCH] Fixed gulp-notify errors --- gulpfile.js | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/gulpfile.js b/gulpfile.js index 5ff3f43..8ecc82d 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -41,10 +41,10 @@ var SassConfig = { function scss_addons() { var onError = function(err) { notify.onError({ - title: 'scss_addons', - subtitle: 'Error!', - message: '❌ <%= error.message %>', - sound: 'Submarine' + "title": "scss_addons", + "subtitle": "Error!", + "message": "❌ <%= error.message %>", + "sound": "Submarine" })(err); this.emit('end'); }; @@ -61,20 +61,20 @@ function scss_addons() { .pipe(gulp.dest(SassConfig.outputDir)) .pipe(livereload()) .pipe(notify({ - title: 'scss_addons', - subtitle: 'Success!', - message: '✅ SCSS compiled', - timeout: '2' + "title": "scss_addons", + "subtitle": "Success!", + "message": "✅ SCSS compiled", + "timeout": "2" })); } function scss_main() { var onError = function(err) { notify.onError({ - title: 'scss_main', - subtitle: 'Error!', - message: '❌ <%= error.message %>', - sound: 'Submarine' + "title": "scss_main", + "subtitle": "Error!", + "message": "❌ <%= error.message %>", + "sound": "Submarine" })(err); this.emit('end'); }; @@ -91,10 +91,10 @@ function scss_main() { .pipe(gulp.dest(SassConfig.outputDir)) .pipe(livereload()) .pipe(notify({ - title: 'scss_main', - subtitle: 'Success!', - message: '✅ SCSS compiled', - timeout: '2' + "title": "scss_main", + "subtitle": "Success!", + "message": "✅ SCSS compiled", + "timeout": "2" })); };