Unverified Commit 40e394c8 authored by yann300's avatar yann300 Committed by GitHub

Update cmdInterpreterAPI.js

parent b629dcce
......@@ -174,6 +174,7 @@ class CmdInterpreterAPI {
}
}
setFile (path, content, cb) {
cb = cb || () => {}
var provider = this._deps.fileManager.fileProviderOf(path)
if (provider) {
provider.set(path, content, (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