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
6ec919c1
Commit
6ec919c1
authored
Nov 19, 2020
by
ioedeveloper
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Do not throw error
parent
4213f208
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
4 deletions
+5
-4
script.js
apps/remix-ide-e2e/script.js
+4
-3
script.sh
apps/remix-ide-e2e/script.sh
+1
-1
No files found.
apps/remix-ide-e2e/script.js
View file @
6ec919c1
...
...
@@ -20,7 +20,7 @@ bash.stderr.on('data', (data) => {
bash
.
on
(
'exit'
,
(
code
)
=>
{
console
.
log
(
`Process exited with code
${
code
}
`
)
if
(
parseInt
(
code
)
===
1
)
{
throw
new
Error
(
'Failed with error code 1'
)
}
//
if (parseInt(code) === 1) {
//
throw new Error('Failed with error code 1')
//
}
})
\ No newline at end of file
apps/remix-ide-e2e/script.sh
View file @
6ec919c1
...
...
@@ -16,7 +16,7 @@ fi
eval
$TEST_SCRIPT
||
TEST_EXITCODE
=
1
;
echo
$TEST_EXITCODE
echo
$TEST_EXITCODE
;
if
[
"
$TEST_EXITCODE
"
-eq
"1"
]
then
exit
1
...
...
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