event on dir removal

pull/3071/head
Aniket-Engg 2 years ago committed by Aniket
parent 417bc7db61
commit 9f0f9e895a
  1. 2
      apps/remix-ide/src/app/files/fileProvider.js

@ -193,9 +193,11 @@ class FileProvider {
}
}
await window.remixFileSystem.rmdir(path)
this.event.emit('fileRemoved', this._normalizePath(path))
} else {
// folder is empty
await window.remixFileSystem.rmdir(path)
this.event.emit('fileRemoved', this._normalizePath(path))
}
}
} catch (e) {

Loading…
Cancel
Save