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

Commit c29424e

Browse files
author
Jeffrey Way
committed
Fix notification image paths
1 parent bf275cb commit c29424e

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

Notification.js

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ n.message = function(message) {
2626
return notify({
2727
title: this.title,
2828
message: message,
29+
icon: __dirname + '/icons/laravel.png',
2930
onLast: true
3031
});
3132
};
@@ -41,7 +42,7 @@ n.error = function(e, message) {
4142
notify.onError({
4243
title: this.title,
4344
message: message + ': <%= error.message %>',
44-
icon: __dirname + './icons/fail.png',
45+
icon: __dirname + '/icons/fail.png',
4546
onLast: true
4647
})(e);
4748

@@ -60,7 +61,7 @@ n.forPassedTests = function(framework) {
6061
return notify({
6162
title: 'Green!',
6263
message: 'Your ' + framework + ' tests passed!',
63-
icon: __dirname + './icons/pass.png',
64+
icon: __dirname + '/icons/pass.png',
6465
onLast: true
6566
});
6667
};
@@ -76,7 +77,7 @@ n.forFailedTests = function(e, framework) {
7677
return notify.onError({
7778
title: 'Red!',
7879
message: 'Your ' + framework + ' tests failed!',
79-
icon: __dirname + './icons/fail.png',
80+
icon: __dirname + '/icons/fail.png',
8081
onLast: true
8182
})(e);
8283
};

0 commit comments

Comments
 (0)