Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
B
baas-ide
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
guxukai
baas-ide
Commits
8dc15cee
Unverified
Commit
8dc15cee
authored
May 29, 2020
by
yann300
Committed by
GitHub
May 29, 2020
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #2867 from ethereum/yann300-patch-9
Don't call `setFileContent` 2 times
parents
538cd914
5c68e892
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
1 deletion
+0
-1
fileManager.js
src/app/files/fileManager.js
+0
-1
No files found.
src/app/files/fileManager.js
View file @
8dc15cee
...
@@ -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>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment