Commit 0488a4cb authored by ioedeveloper's avatar ioedeveloper

Fixed linting error

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