auto-faucet - only skip faucet on explicit test environment

This commit is contained in:
kumavis 2017-04-04 18:48:33 -07:00
parent 5a91adf7d8
commit 9b9570fd2b
1 changed files with 1 additions and 1 deletions

View File

@ -4,7 +4,7 @@ const env = process.env.METAMASK_ENV
module.exports = function (address) {
// Don't faucet in development or test
if (METAMASK_DEBUG || env === 'test') return
if (METAMASK_DEBUG === true || env === 'test') return
global.log.info('auto-fauceting:', address)
const data = address
const headers = new Headers()