mirror of
https://github.com/embarklabs/embark.git
synced 2025-01-11 14:24:24 +00:00
Remove lodash
This commit is contained in:
parent
6207023bec
commit
859d78eb41
@ -1,7 +1,6 @@
|
|||||||
let toposort = require('toposort');
|
let toposort = require('toposort');
|
||||||
let async = require('async');
|
let async = require('async');
|
||||||
const cloneDeep = require('clone-deep');
|
const cloneDeep = require('clone-deep');
|
||||||
const _ = require('lodash');
|
|
||||||
|
|
||||||
let utils = require('../../utils/utils.js');
|
let utils = require('../../utils/utils.js');
|
||||||
|
|
||||||
@ -179,7 +178,10 @@ class ContractsManager {
|
|||||||
return res.send({error: err.message});
|
return res.send({error: err.message});
|
||||||
}
|
}
|
||||||
// pick the compiled contracts that have been built
|
// 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)
|
// for each contract, deploy (in parallel)
|
||||||
async.eachOf(builtContracts, (contract, contractName, next) => {
|
async.eachOf(builtContracts, (contract, contractName, next) => {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user