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
e526a182
Commit
e526a182
authored
Jun 19, 2020
by
ioedeveloper
Committed by
yann300
Jul 01, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed linting error
parent
48ea0097
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
file-explorer.js
src/app/files/file-explorer.js
+1
-1
remixDProvider.js
src/app/files/remixDProvider.js
+2
-2
No files found.
src/app/files/file-explorer.js
View file @
e526a182
...
@@ -104,7 +104,7 @@ function fileExplorer (localRegistry, files, menuItems) {
...
@@ -104,7 +104,7 @@ function fileExplorer (localRegistry, files, menuItems) {
self
.
ensureRoot
(()
=>
{
self
.
ensureRoot
(()
=>
{
const
folderpath
=
filepath
.
split
(
'/'
).
slice
(
0
,
-
1
).
join
(
'/'
)
const
folderpath
=
filepath
.
split
(
'/'
).
slice
(
0
,
-
1
).
join
(
'/'
)
const
currentTree
=
self
.
treeView
.
nodeAt
(
folderpath
)
const
currentTree
=
self
.
treeView
.
nodeAt
(
folderpath
)
if
(
currentTree
&&
self
.
treeView
.
isExpanded
(
folderpath
))
{
if
(
currentTree
&&
self
.
treeView
.
isExpanded
(
folderpath
))
{
self
.
files
.
resolveDirectory
(
folderpath
,
(
error
,
fileTree
)
=>
{
self
.
files
.
resolveDirectory
(
folderpath
,
(
error
,
fileTree
)
=>
{
if
(
error
)
console
.
error
(
error
)
if
(
error
)
console
.
error
(
error
)
...
...
src/app/files/remixDProvider.js
View file @
e526a182
...
@@ -70,10 +70,10 @@ module.exports = class RemixDProvider {
...
@@ -70,10 +70,10 @@ module.exports = class RemixDProvider {
return
this
.
_appManager
.
call
(
'remixd'
,
'exists'
,
{
path
:
unprefixedpath
})
return
this
.
_appManager
.
call
(
'remixd'
,
'exists'
,
{
path
:
unprefixedpath
})
.
then
((
result
)
=>
{
.
then
((
result
)
=>
{
if
(
cb
)
return
cb
(
null
,
result
)
if
(
cb
)
return
cb
(
null
,
result
)
return
result
return
result
}).
catch
((
error
)
=>
{
}).
catch
((
error
)
=>
{
if
(
cb
)
return
cb
(
error
)
if
(
cb
)
return
cb
(
error
)
throw
new
Error
(
error
)
throw
new
Error
(
error
)
})
})
}
}
...
...
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