Skip to content
GitLab
Explore
Projects
Groups
Snippets
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Meta
create-react-app
Commits
4d60f086
Commit
4d60f086
authored
8 years ago
by
Dan Abramov
Committed by
GitHub
8 years ago
Browse files
Options
Download
Email Patches
Plain Diff
Fix error logic in e2e script
I think this should solve
#258
parent
319d2727
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
tasks/e2e.sh
+3
-2
tasks/e2e.sh
with
3 additions
and
2 deletions
+3
-2
tasks/e2e.sh
+
3
-
2
View file @
4d60f086
...
@@ -16,13 +16,14 @@ function cleanup {
...
@@ -16,13 +16,14 @@ function cleanup {
function
handle_error
{
function
handle_error
{
echo
"
$(
basename
$0
)
:
\0
33[31mERROR!
\0
33[m An error was encountered executing
\0
33[36mline
$1
\0
33[m."
echo
"
$(
basename
$0
)
:
\0
33[31mERROR!
\0
33[m An error was encountered executing
\0
33[36mline
$1
\0
33[m."
handle_exit
cleanup
echo
'Exiting with error.'
exit
1
exit
1
}
}
function
handle_exit
{
function
handle_exit
{
cleanup
cleanup
echo
'Exiting.'
echo
'Exiting
without error
.'
exit
exit
}
}
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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
Menu
Explore
Projects
Groups
Snippets