diff --git a/commands/metamask.js b/commands/metamask.js index 412d5dee1..d47f1342a 100644 --- a/commands/metamask.js +++ b/commands/metamask.js @@ -386,7 +386,7 @@ module.exports = { }, initialSetup: async ({ secretWordsOrPrivateKey, network, password }) => { const isCustomNetwork = - process.env.NETWORK_NAME && process.env.RPC_URL && process.env.CHAIN_ID; + (process.env.NETWORK_NAME && process.env.RPC_URL && process.env.CHAIN_ID) || typeof(network) == 'object'; await puppeteer.init(); await puppeteer.assignWindows();