Skip to content

Commit

Permalink
Merge pull request #228 from StylishTriangles/patch-1
Browse files Browse the repository at this point in the history
Fix recognition of custom networks
  • Loading branch information
drptbl authored Oct 12, 2021
2 parents 7aad5ea + 149dbad commit 1c0ea2e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion commands/metamask.js
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 1c0ea2e

Please sign in to comment.