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 continue
} }
if (handleImportCall) {
handleImportCall(m, function (err, content) { handleImportCall(m, function (err, content) {
if (err) { if (err) {
cb(err) cb(err)
@ -332,6 +333,7 @@ function Compiler (handleImportCall) {
gatherImports(files, target, importHints, cb) gatherImports(files, target, importHints, cb)
} }
}) })
}
return return
} }

Loading…
Cancel
Save