File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -202,7 +202,7 @@ wait_for_all_background_jobs() {
202
202
for failure in " ${failures[@]} " ; do
203
203
echo -e " $failure "
204
204
done
205
- echo -e " ${RED} To see the details look for the job's logs by it's prefixed name (e.g. \" shellcheck: \" ).${NO_COLOR} "
205
+ echo -e " ${RED} To see the details look for the job's logs by it's prefixed name (e.g. \" shellcheck failed \" ).${NO_COLOR} "
206
206
return 1
207
207
fi
208
208
@@ -229,7 +229,6 @@ pre_commit() {
229
229
# Function to run shellcheck on a single file
230
230
run_shellcheck () {
231
231
local file=" $1 "
232
- echo " Running shellcheck on $file "
233
232
234
233
local diff_output
235
234
diff_output=$( shellcheck -f diff " $file " -e SC2154 -e SC1091 -e SC1090 -e SC2148 -o require-variable-braces -P " scripts" 2>&1 )
Original file line number Diff line number Diff line change @@ -77,7 +77,8 @@ ensure_required_python() {
77
77
# Install python3-venv package for Debian/Ubuntu systems if needed
78
78
if command -v apt-get & > /dev/null; then
79
79
echo " Installing python3-venv package for venv support..." >&2
80
- sudo apt-get update -qq && sudo apt-get install -y python3-venv || true
80
+ sudo apt-get update -qq || true
81
+ sudo apt-get install -y python3-venv || true
81
82
fi
82
83
return 0
83
84
fi
Original file line number Diff line number Diff line change 29
29
}
30
30
31
31
# retrieve arch variable off the shell command line
32
- ARCH=${1- " $( detect_architecture) " }
32
+ ARCH=" $( detect_architecture) "
33
33
34
34
echo " Setting up minikube host for architecture: ${ARCH} "
35
35
@@ -63,7 +63,7 @@ setup_local_registry_and_custom_image() {
63
63
64
64
# Wait for registry to be ready
65
65
echo " Waiting for registry to be ready..."
66
- for i in {1..30}; do
66
+ for _ in {1..30}; do
67
67
if curl -s http://localhost:5000/v2/_catalog > /dev/null 2>&1 ; then
68
68
break
69
69
fi
You can’t perform that action at this time.
0 commit comments