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
b0e778f0
Unverified
Commit
b0e778f0
authored
Jan 23, 2020
by
yann300
Committed by
GitHub
Jan 23, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
call `reject` after `console`
parent
4a1f0cc4
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
compiler-metadata.js
src/app/files/compiler-metadata.js
+1
-1
No files found.
src/app/files/compiler-metadata.js
View file @
b0e778f0
...
@@ -99,8 +99,8 @@ class CompilerMetadata extends Plugin {
...
@@ -99,8 +99,8 @@ class CompilerMetadata extends Plugin {
if
(
provider
&&
path
)
{
if
(
provider
&&
path
)
{
self
.
executionContext
.
detectNetwork
((
err
,
{
id
,
name
}
=
{})
=>
{
self
.
executionContext
.
detectNetwork
((
err
,
{
id
,
name
}
=
{})
=>
{
if
(
err
)
{
if
(
err
)
{
reject
(
err
)
console
.
log
(
err
)
console
.
log
(
err
)
reject
(
err
)
}
else
{
}
else
{
var
fileName
=
self
.
_JSONFileName
(
path
,
contractName
)
var
fileName
=
self
.
_JSONFileName
(
path
,
contractName
)
provider
.
get
(
fileName
,
(
error
,
content
)
=>
{
provider
.
get
(
fileName
,
(
error
,
content
)
=>
{
...
...
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