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
ed18c3d5
Unverified
Commit
ed18c3d5
authored
Aug 07, 2018
by
yann300
Committed by
GitHub
Aug 07, 2018
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1448 from ethereum/fix_ImportFailureDueToRemixd
Return error if localhost not connected
parents
d35fe6f5
9e501d39
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
app.js
src/app.js
+3
-0
No files found.
src/app.js
View file @
ed18c3d5
...
@@ -321,6 +321,9 @@ class App {
...
@@ -321,6 +321,9 @@ class App {
}
}
var
provider
=
self
.
_components
.
fileManager
.
fileProviderOf
(
url
)
var
provider
=
self
.
_components
.
fileManager
.
fileProviderOf
(
url
)
if
(
provider
)
{
if
(
provider
)
{
if
(
provider
.
type
===
'localhost'
&&
!
provider
.
isConnected
())
{
return
filecb
(
`file provider
${
provider
.
type
}
not available while trying to resolve
${
url
}
`
)
}
provider
.
exists
(
url
,
(
error
,
exist
)
=>
{
provider
.
exists
(
url
,
(
error
,
exist
)
=>
{
if
(
error
)
return
filecb
(
error
)
if
(
error
)
return
filecb
(
error
)
if
(
exist
)
{
if
(
exist
)
{
...
...
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