make handleImportCall optional

pull/3094/head
Iuri Matias 7 years ago
parent 64e01b3e6b
commit 97b29deaec
  1. 2
      remix-solidity/src/compiler/compiler.js

@ -324,6 +324,7 @@ function Compiler (handleImportCall) {
continue
}
if (handleImportCall) {
handleImportCall(m, function (err, content) {
if (err) {
cb(err)
@ -332,6 +333,7 @@ function Compiler (handleImportCall) {
gatherImports(files, target, importHints, cb)
}
})
}
return
}

Loading…
Cancel
Save