Commit 051db2f8 authored by yann300's avatar yann300

fix import

parent ef8592dd
...@@ -371,7 +371,7 @@ function run () { ...@@ -371,7 +371,7 @@ function run () {
var compiler = new Compiler((url, cb) => { var compiler = new Compiler((url, cb) => {
var provider = fileManager.fileProviderOf(url) var provider = fileManager.fileProviderOf(url)
if (provider && provider.exists(url)) { if (provider && provider.exists(url)) {
cb(null, provider.get(url, cb)) return provider.get(url, cb)
} }
handleImports.import(url, (error, content) => { handleImports.import(url, (error, content) => {
if (!error) { if (!error) {
......
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