Unverified Commit 5c16a383 authored by yann300's avatar yann300 Committed by GitHub

Update cmdInterpreterAPI.js

parent 40e394c8
......@@ -174,7 +174,7 @@ class CmdInterpreterAPI {
}
}
setFile (path, content, cb) {
cb = cb || () => {}
cb = cb || function () {}
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