Don't call `setFileContent` 2 times

pull/4/head
yann300 5 years ago committed by GitHub
parent 538cd914b3
commit 5c68e89221
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      src/app/files/fileManager.js

@ -355,7 +355,6 @@ class FileManager extends Plugin {
if (this.currentRequest) {
const canCall = await this.askUserPermission('writeFile', '')
if (canCall) {
this._setFileInternal(path, content)
// inform the user about modification after permission is granted and even if permission was saved before
toaster(yo`
<div>

Loading…
Cancel
Save