chore: update desc of variables (#101)

Signed-off-by: Jef LeCompte <jeffreylec@gmail.com>
This commit is contained in:
Jef LeCompte
2020-09-20 09:15:57 -04:00
committed by GitHub
parent 103d96dc81
commit 85faaa1ca7
4 changed files with 33 additions and 33 deletions
+2 -2
View File
@@ -23,8 +23,8 @@ const notifications = {
},
playSound: process.env.PLAY_SOUND ?? '',
pushover: {
token: process.env.PUSHOVER_TOKEN,
user: process.env.PUSHOVER_USER
token: process.env.PUSHOVER_TOKEN ?? '',
user: process.env.PUSHOVER_USER ?? ''
},
slack: {
channel: process.env.SLACK_CHANNEL ?? '',
+3 -3
View File
@@ -1,9 +1,9 @@
import playerLib = require('play-sound');
import playerLib from 'play-sound';
import {Config} from '../config';
import {Logger} from '../logger';
import * as fs from 'fs';
import fs from 'fs';
const notificationSound = './resources/sounds/' + Config.notifications.playSound;
const notificationSound = Config.notifications.playSound;
const player = playerLib();
export function playSound() {