mirror of
https://github.com/status-im/embark-area-51.git
synced 2025-01-11 14:34:40 +00:00
remove extra method
This commit is contained in:
parent
da84cfa769
commit
d8a1894803
@ -46,7 +46,7 @@ class Pipeline {
|
||||
},
|
||||
function writeContracts(next) {
|
||||
async.each(Object.keys(contractsJSON), (contractName, eachCb) => {
|
||||
self.buildContractJS(contractName, (err, contractCode) => {
|
||||
self.events.request('code-generator:contract', contractName, (contractCode) => {
|
||||
let filePath = fs.dappPath(".embark", contractName + '.js');
|
||||
importsList["Embark/contracts/" + contractName] = filePath;
|
||||
fs.writeFile(filePath, contractCode, eachCb);
|
||||
@ -188,14 +188,6 @@ class Pipeline {
|
||||
});
|
||||
}
|
||||
|
||||
buildContractJS(contractName, callback) {
|
||||
const self = this;
|
||||
|
||||
self.events.request('code-generator:contract', contractName, (code) => {
|
||||
callback(null, code);
|
||||
});
|
||||
}
|
||||
|
||||
buildWeb3JS(cb) {
|
||||
const self = this;
|
||||
async.waterfall([
|
||||
|
Loading…
x
Reference in New Issue
Block a user