|
|
@ -121,10 +121,7 @@ class FileManager extends Plugin { |
|
|
|
try { |
|
|
|
try { |
|
|
|
path = this.limitPluginScope(path) |
|
|
|
path = this.limitPluginScope(path) |
|
|
|
const provider = this.fileProviderOf(path) |
|
|
|
const provider = this.fileProviderOf(path) |
|
|
|
const result = provider.exists(path, (err, result) => { |
|
|
|
const result = provider.exists(path, () => {}) |
|
|
|
if (err) return false |
|
|
|
|
|
|
|
return result |
|
|
|
|
|
|
|
}) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
return result |
|
|
|
return result |
|
|
|
} catch (e) { |
|
|
|
} catch (e) { |
|
|
|