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
c5fa74a5
Commit
c5fa74a5
authored
Jul 22, 2021
by
Aniket-Engg
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
added / in path
parent
b5f9f912
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
3 deletions
+1
-3
remixdClient.ts
libs/remixd/src/services/remixdClient.ts
+1
-3
No files found.
libs/remixd/src/services/remixdClient.ts
View file @
c5fa74a5
...
@@ -188,7 +188,7 @@ export class RemixdClient extends PluginClient {
...
@@ -188,7 +188,7 @@ export class RemixdClient extends PluginClient {
const
list
=
utils
.
resolveDirectory
(
path
,
this
.
currentSharedFolder
)
const
list
=
utils
.
resolveDirectory
(
path
,
this
.
currentSharedFolder
)
Object
.
keys
(
list
).
forEach
(
itemPath
=>
{
Object
.
keys
(
list
).
forEach
(
itemPath
=>
{
if
(
list
[
itemPath
].
isDirectory
)
{
if
(
list
[
itemPath
].
isDirectory
)
{
resolveList
(
`
${
this
.
currentSharedFolder
}${
itemPath
}
`
)
resolveList
(
`
${
this
.
currentSharedFolder
}
/
${
itemPath
}
`
)
}
}
ls
.
push
(
itemPath
)
ls
.
push
(
itemPath
)
})
})
...
@@ -227,7 +227,6 @@ export class RemixdClient extends PluginClient {
...
@@ -227,7 +227,6 @@ export class RemixdClient extends PluginClient {
isDirectory
(
args
:
SharedFolderArgs
):
boolean
{
isDirectory
(
args
:
SharedFolderArgs
):
boolean
{
try
{
try
{
const
path
=
utils
.
absolutePath
(
args
.
path
,
this
.
currentSharedFolder
)
const
path
=
utils
.
absolutePath
(
args
.
path
,
this
.
currentSharedFolder
)
return
fs
.
statSync
(
path
).
isDirectory
()
return
fs
.
statSync
(
path
).
isDirectory
()
}
catch
(
error
)
{
}
catch
(
error
)
{
throw
new
Error
(
error
)
throw
new
Error
(
error
)
...
@@ -237,7 +236,6 @@ export class RemixdClient extends PluginClient {
...
@@ -237,7 +236,6 @@ export class RemixdClient extends PluginClient {
isFile
(
args
:
SharedFolderArgs
):
boolean
{
isFile
(
args
:
SharedFolderArgs
):
boolean
{
try
{
try
{
const
path
=
utils
.
absolutePath
(
args
.
path
,
this
.
currentSharedFolder
)
const
path
=
utils
.
absolutePath
(
args
.
path
,
this
.
currentSharedFolder
)
return
fs
.
statSync
(
path
).
isFile
()
return
fs
.
statSync
(
path
).
isFile
()
}
catch
(
error
)
{
}
catch
(
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