`new Boolean()` didnt work as expected

https://i.imgur.com/NRrG0FR.png
This commit is contained in:
Lamp 2018-07-13 21:34:57 -07:00
parent d81653d944
commit a8b451959e
No known key found for this signature in database
GPG Key ID: 0F1F8704BEDE369E
1 changed files with 1 additions and 1 deletions

View File

@ -1,6 +1,6 @@
module.exports = {
"testmode": new Boolean(process.env.TEST),
"testmode": process.env.TEST ? true : false,
"DISCORD_TOKEN": process.env.DISCORD_TOKEN,
"DATABASE_URL": this.testmode ? "postgres://localhost/k4t" : process.env.DATABASE_URL,