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
70563e48
Unverified
Commit
70563e48
authored
May 11, 2021
by
bunsenstraat
Committed by
GitHub
May 11, 2021
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1176 from ethereum/fixconsole
Hide error output when creating workspace
parents
7c80d0d6
4127ba47
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
file-explorer.tsx
libs/remix-ui/file-explorer/src/lib/file-explorer.tsx
+1
-2
No files found.
libs/remix-ui/file-explorer/src/lib/file-explorer.tsx
View file @
70563e48
...
...
@@ -261,8 +261,7 @@ export const FileExplorer = (props: FileExplorerProps) => {
const
fetchDirectoryContent
=
async
(
folderPath
:
string
):
Promise
<
File
[]
>
=>
{
return
new
Promise
((
resolve
)
=>
{
filesProvider
.
resolveDirectory
(
folderPath
,
(
error
,
fileTree
)
=>
{
if
(
error
)
console
.
error
(
error
)
filesProvider
.
resolveDirectory
(
folderPath
,
(
_error
,
fileTree
)
=>
{
const
files
=
normalize
(
fileTree
)
resolve
(
files
)
...
...
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