From c29424e3826748a3efbff578d8ad93d216b98c4d Mon Sep 17 00:00:00 2001 From: Jeffrey Way <=> Date: Sat, 25 Jul 2015 10:55:32 -0400 Subject: [PATCH] Fix notification image paths --- Notification.js | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/Notification.js b/Notification.js index 4e05a2b..71e82a9 100644 --- a/Notification.js +++ b/Notification.js @@ -26,6 +26,7 @@ n.message = function(message) { return notify({ title: this.title, message: message, + icon: __dirname + '/icons/laravel.png', onLast: true }); }; @@ -41,7 +42,7 @@ n.error = function(e, message) { notify.onError({ title: this.title, message: message + ': <%= error.message %>', - icon: __dirname + './icons/fail.png', + icon: __dirname + '/icons/fail.png', onLast: true })(e); @@ -60,7 +61,7 @@ n.forPassedTests = function(framework) { return notify({ title: 'Green!', message: 'Your ' + framework + ' tests passed!', - icon: __dirname + './icons/pass.png', + icon: __dirname + '/icons/pass.png', onLast: true }); }; @@ -76,7 +77,7 @@ n.forFailedTests = function(e, framework) { return notify.onError({ title: 'Red!', message: 'Your ' + framework + ' tests failed!', - icon: __dirname + './icons/fail.png', + icon: __dirname + '/icons/fail.png', onLast: true })(e); };