mirror of
https://github.com/status-im/embark-area-51.git
synced 2025-01-10 14:06:10 +00:00
Fix solidity compilation
Issues introduced in rebase.
This commit is contained in:
parent
b12856fe2d
commit
199aa18c07
@ -60,7 +60,7 @@ class Solidity {
|
||||
});
|
||||
}
|
||||
|
||||
compile_solidity_code(codeInputs, originalFilepaths, returnAllErrors, cb) {
|
||||
compile_solidity_code(codeInputs, originalFilepaths, returnAllErrors, options = {}, cb) {
|
||||
const self = this;
|
||||
|
||||
async.waterfall([
|
||||
@ -147,7 +147,7 @@ class Solidity {
|
||||
});
|
||||
}
|
||||
|
||||
compile_solidity(contractFiles, cb) {
|
||||
compile_solidity(contractFiles, options, cb) {
|
||||
if (!contractFiles.length) {
|
||||
return cb();
|
||||
}
|
||||
@ -183,7 +183,7 @@ class Solidity {
|
||||
);
|
||||
},
|
||||
function compile(callback) {
|
||||
self.compile_solidity_code(input, originalFilepath, false, callback);
|
||||
self.compile_solidity_code(input, originalFilepath, false, options, callback);
|
||||
}
|
||||
], function (err, result) {
|
||||
cb(err, result);
|
||||
|
Loading…
x
Reference in New Issue
Block a user