Commit 67e5f2a6 authored by yann300's avatar yann300

`getCurrentFile` returns a path

parent 2fc0d245
...@@ -71,7 +71,7 @@ module.exports = (pluginManager, fileProviders, fileManager, compiler, udapp) => ...@@ -71,7 +71,7 @@ module.exports = (pluginManager, fileProviders, fileManager, compiler, udapp) =>
if (!path) { if (!path) {
cb('no file selected') cb('no file selected')
} else { } else {
this.getFile(mod, path, cb) cb(null, path)
} }
}, },
getFile: (mod, path, cb) => { getFile: (mod, path, cb) => {
......
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