Commit 0488a4cb authored by ioedeveloper's avatar ioedeveloper

Fixed linting error

parent de2a467c
......@@ -89,7 +89,6 @@ class FileManager extends Plugin {
file () {
const file = this.currentFile()
if (!file) throw createError({ code: 'ENOENT', message: 'No file selected' })
return file
}
......@@ -235,7 +234,7 @@ class FileManager extends Plugin {
rmdir (path) {
this._handleExists(path, `Cannot remove directory ${path}`)
this._handleIsDir(path, `Cannot remove directory ${path}`)
const provider = this.fileProviderOf(path)
return provider.remove(path)
......
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