Skip to content
This repository has been archived by the owner on Mar 31, 2020. It is now read-only.

Commit

Permalink
Fix notification image paths
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeffrey Way committed Jul 25, 2015
1 parent bf275cb commit c29424e
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions Notification.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ n.message = function(message) {
return notify({
title: this.title,
message: message,
icon: __dirname + '/icons/laravel.png',
onLast: true
});
};
Expand All @@ -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);

Expand All @@ -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
});
};
Expand All @@ -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);
};
Expand Down

0 comments on commit c29424e

Please sign in to comment.