feat(notification): add sound player executable option (#1301)

Pass the path to the player executable as a players array to play-sound so that it will check if the executable exists.
This commit is contained in:
Warwick Marangos
2020-12-09 20:59:10 -05:00
committed by GitHub
parent 3841666d03
commit 8d192317ba
3 changed files with 5 additions and 1 deletions
+1
View File
@@ -270,6 +270,7 @@ const notifications = {
channel: envOrString(process.env.SLACK_CHANNEL),
token: envOrString(process.env.SLACK_TOKEN)
},
soundPlayer: envOrString(process.env.SOUND_PLAYER),
telegram: {
accessToken: envOrString(process.env.TELEGRAM_ACCESS_TOKEN),
chatId: envOrArray(process.env.TELEGRAM_CHAT_ID)