Unverified Commit 8dc15cee authored by yann300's avatar yann300 Committed by GitHub

Merge pull request #2867 from ethereum/yann300-patch-9

Don't call `setFileContent` 2 times
parents 538cd914 5c68e892
...@@ -355,7 +355,6 @@ class FileManager extends Plugin { ...@@ -355,7 +355,6 @@ class FileManager extends Plugin {
if (this.currentRequest) { if (this.currentRequest) {
const canCall = await this.askUserPermission('writeFile', '') const canCall = await this.askUserPermission('writeFile', '')
if (canCall) { if (canCall) {
this._setFileInternal(path, content)
// inform the user about modification after permission is granted and even if permission was saved before // inform the user about modification after permission is granted and even if permission was saved before
toaster(yo` toaster(yo`
<div> <div>
......
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