mirror of
https://github.com/status-im/embark-area-51.git
synced 2025-01-10 05:56:00 +00:00
Remove lodash
This commit is contained in:
parent
4b05c398fb
commit
4bd5239669
@ -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…
x
Reference in New Issue
Block a user