mirror of
https://github.com/apache/cordova-android.git
synced 2025-01-19 07:02:51 +08:00
Fixes CB-2204: if bin/create fails, exit with code 1
This commit is contained in:
parent
1f39386616
commit
dc94fc39ec
@ -69,7 +69,7 @@ function on_error {
|
|||||||
echo "An unexpected error occurred: $previous_command exited with $?"
|
echo "An unexpected error occurred: $previous_command exited with $?"
|
||||||
echo "Deleting project..."
|
echo "Deleting project..."
|
||||||
[ -d "$PROJECT_PATH" ] && rm -rf "$PROJECT_PATH"
|
[ -d "$PROJECT_PATH" ] && rm -rf "$PROJECT_PATH"
|
||||||
exit "$?"
|
exit 1
|
||||||
}
|
}
|
||||||
|
|
||||||
function replace {
|
function replace {
|
||||||
|
Loading…
Reference in New Issue
Block a user