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
339579f8
Commit
339579f8
authored
Aug 26, 2020
by
aniket-engg
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
handle deferred import
parent
0f4f699d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
compiler.ts
libs/remix-solidity/src/compiler/compiler.ts
+1
-1
run.ts
libs/remix-tests/src/run.ts
+1
-1
No files found.
libs/remix-solidity/src/compiler/compiler.ts
View file @
339579f8
...
...
@@ -133,7 +133,7 @@ export class Compiler {
const
checkIfFatalError
=
(
error
:
CompilationError
)
=>
{
// Ignore warnings and the 'Deferred import' error as those are generated by us as a workaround
const
isValidError
=
(
error
.
message
&&
error
.
message
.
includes
(
'Deferred import'
)
)
?
false
:
error
.
severity
!==
'warning'
const
isValidError
=
(
error
.
message
&&
error
.
message
===
'Deferred import'
)
?
false
:
error
.
severity
!==
'warning'
if
(
isValidError
)
noFatalErrors
=
false
}
if
(
data
.
error
)
checkIfFatalError
(
data
.
error
)
...
...
libs/remix-tests/src/run.ts
View file @
339579f8
...
...
@@ -20,7 +20,7 @@ function mapVerbosity (v: number) {
}
return
levels
[
v
]
}
const
version
=
require
(
'../
../../
package.json'
).
version
const
version
=
require
(
'../package.json'
).
version
commander
.
version
(
version
)
...
...
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