Remove lodash
This commit is contained in:
parent
6207023bec
commit
859d78eb41
|
@ -1,7 +1,6 @@
|
|||
let toposort = require('toposort');
|
||||
let async = require('async');
|
||||
const cloneDeep = require('clone-deep');
|
||||
const _ = require('lodash');
|
||||
|
||||
let utils = require('../../utils/utils.js');
|
||||
|
||||
|
@ -179,7 +178,10 @@ class ContractsManager {
|
|||
return res.send({error: err.message});
|
||||
}
|
||||
// pick the compiled contracts that have been built
|
||||
const builtContracts = _.pick(self.contracts, contractNames);
|
||||
let builtContracts = {};
|
||||
contractNames.forEach(function(key){
|
||||
builtContracts[key] = self.contracts[key];
|
||||
});
|
||||
|
||||
// for each contract, deploy (in parallel)
|
||||
async.eachOf(builtContracts, (contract, contractName, next) => {
|
||||
|
|
Loading…
Reference in New Issue