Skip to content

Commit

Permalink
style: use error function in bash script
Browse files Browse the repository at this point in the history
  • Loading branch information
Hayata Suenaga committed Aug 15, 2023
1 parent 02daa94 commit 1dfed9c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/setup-mapbox-sdk.sh
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ GRADLE_PROPERTIES_PATH="$HOME/.gradle/gradle.properties"
handleError() {
echo -e "\n"

echo -e "\033[1;31mError:\033[0m The script failed."
error "The script failed."
echo "The most probable reason is permissions."
echo -e "Please ensure you have read/write permissions for the following:\n"

Expand Down

0 comments on commit 1dfed9c

Please sign in to comment.