fix(env): default LOG_LEVEL

Signed-off-by: Jef LeCompte <jeffreylec@gmail.com>
This commit is contained in:
Jef LeCompte
2020-09-25 19:33:38 -04:00
parent 1bead4712b
commit 9636572c7d
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -9,7 +9,7 @@ EMAIL_USERNAME=""
EMAIL_PASSWORD=""
HEADLESS=""
IN_STOCK_WAIT_TIME=""
#LOG_LEVEL=""
LOG_LEVEL=""
MICROCENTER_LOCATION=""
OPEN_BROWSER=""
PAGE_TIMEOUT=""
+1 -1
View File
@@ -56,7 +56,7 @@ const browser = {
open: envOrBoolean(process.env.OPEN_BROWSER)
};
const logLevel = process.env.LOG_LEVEL ?? 'info';
const logLevel = envOrString(process.env.LOG_LEVEL, 'info');
const notifications = {
desktop: process.env.DESKTOP_NOTIFICATIONS === 'true',