Update cmdInterpreterAPI.js

pull/3094/head
yann300 6 years ago committed by GitHub
parent beece62574
commit 108441dd5a
  1. 1
      src/lib/cmdInterpreterAPI.js

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

Loading…
Cancel
Save