Fixed linting error

pull/5370/head
ioedeveloper 5 years ago
parent 052244fdc8
commit 58f984b9d9
  1. 3
      src/app/files/fileManager.js

@ -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 {
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)

Loading…
Cancel
Save