diff --git a/epic-games.js b/epic-games.js
index 6ab8d2d..4ce8b9a 100644
--- a/epic-games.js
+++ b/epic-games.js
@@ -199,7 +199,7 @@ try {
} finally {
await db.write(); // write out json db
if (notify_games.filter(g => g.status != 'existed').length) { // don't notify if all were already claimed; TODO don't notify if killed?
- const list = notify_games.map(g => `- ${g.title} (${g.status})
`);
+ const list = notify_games.map(g => `- ${g.title} (${g.status})`).join('
');
notify(`epic-games:
${list}`);
}
}
diff --git a/gog.js b/gog.js
index 4de1c22..51722b3 100644
--- a/gog.js
+++ b/gog.js
@@ -127,7 +127,7 @@ try {
} finally {
await db.write(); // write out json db
if (notify_games.filter(g => g.status != 'existed').length) { // don't notify if all were already claimed; TODO don't notify if killed?
- const list = notify_games.map(g => `- ${g.title} (${g.status})
`);
+ const list = notify_games.map(g => `- ${g.title} (${g.status})`).join('
');
notify(`gog:
${list}`);
}
}
diff --git a/prime-gaming.js b/prime-gaming.js
index b51db42..b45e556 100644
--- a/prime-gaming.js
+++ b/prime-gaming.js
@@ -182,7 +182,7 @@ try {
} finally {
await db.write(); // write out json db
if (notify_games.length) { // list should only include claimed games
- const list = notify_games.map(g => `- ${g.title} (${g.status})
`);
+ const list = notify_games.map(g => `- ${g.title} (${g.status})`).join('
');
notify(`prime-gaming:
${list}`);
}
}