Unverified Commit d9412c74 authored by yann300's avatar yann300 Committed by GitHub

add importFileCb to compiler.js

parent 35b572bd
......@@ -46,7 +46,7 @@ function compileFileOrFiles (filename, isDirectory, cb) {
})
}
function compileContractSources (sources, cb) {
function compileContractSources (sources, importFileCb, cb) {
let compiler, filepath
if(!sources['remix_tests.sol']) {
......@@ -55,7 +55,7 @@ function compileContractSources (sources, cb) {
async.waterfall([
function loadCompiler (next) {
compiler = new RemixCompiler()
compiler = new RemixCompiler(importFileCb)
compiler.onInternalCompilerLoaded()
// compiler.event.register('compilerLoaded', this, function (version) {
next()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment