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…
Reference in New Issue