1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-22 09:23:21 +01:00

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

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()