We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8c7d181 commit 678c286Copy full SHA for 678c286
src/main/scripts/ci/common.sh
@@ -1,21 +1,21 @@
1
print_status() {
2
- local FAIL_FILE="$1"
3
- local MSG="$2"
+ local fail_file="$1"
+ local msg="$2"
4
5
- printf "* $MSG... "
6
- if [ -f "$FAIL_FILE" ]; then
+ printf "* $msg... "
+ if [ -f "$fail_file" ]; then
7
echo "\033[1;31mFAIL\033[0m"
8
else
9
echo "\033[1;32mSUCCESS\033[0m"
10
fi
11
}
12
13
print_log() {
14
- local LOG_FILE="$1"
15
+ local log_file="$1"
16
17
echo
18
- echo "=====> \033[1;33m$MSG\033[0m"
+ echo "=====> \033[1;33m$msg\033[0m"
19
20
- egrep -v '^\[INFO\] Download(ing|ed):' "$LOG_FILE"
+ egrep -v '^\[INFO\] Download(ing|ed):' "$log_file"
21
0 commit comments