We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 889d75c commit 1ba04acCopy full SHA for 1ba04ac
plugins/buidler.plugin.js
@@ -7,7 +7,6 @@ const pkg = require('./../package.json');
7
const death = require('death');
8
const path = require('path');
9
const Web3 = require('web3');
10
-const ganache = require('ganache-cli');
11
12
const { task, types } = require("@nomiclabs/buidler/config");
13
const { ensurePluginLoadedWithUsePlugin } = require("@nomiclabs/buidler/plugins");
@@ -56,7 +55,7 @@ function plugin() {
56
55
// ==============
57
const network = buidlerUtils.setupNetwork(env, api, ui);
58
59
- const client = api.client || ganache;
+ const client = api.client || require('ganache-cli');
60
const address = await api.ganache(client);
61
const web3 = new Web3(address);
62
const accounts = await web3.eth.getAccounts();
0 commit comments