Fix eslint-prettier battle

This commit is contained in:
SnowShield 2022-04-08 17:58:31 +03:00
parent 9db29f2ede
commit 09899edcb2

View File

@ -69,16 +69,14 @@ module.exports = {
? [process.env.PRIVATE_KEY] ? [process.env.PRIVATE_KEY]
: { mnemonic: 'test test test test test junk' }, : { mnemonic: 'test test test test test junk' },
}, },
...(typeof process.env.FORKNET_RPC_URL === 'string' ...(typeof process.env.FORKNET_RPC_URL === 'string' && {
? { forknet: {
forknet: { url: process.env.FORKNET_RPC_URL,
url: process.env.FORKNET_RPC_URL, accounts: process.env.PRIVATE_KEY
accounts: process.env.PRIVATE_KEY ? [process.env.PRIVATE_KEY]
? [process.env.PRIVATE_KEY] : { mnemonic: 'test test test test test junk' },
: { mnemonic: 'test test test test test junk' }, },
}, }),
}
: {}),
}, },
mocha: { timeout: 9999999999 }, mocha: { timeout: 9999999999 },
spdxLicenseIdentifier: { spdxLicenseIdentifier: {