Skip to content

Commit 4cb286f

Browse files
committed
lint
Signed-off-by: Jared Quick <jared.quick@salesforce.com>
1 parent 32c193e commit 4cb286f

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

lib/shared.bash

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ function build_image_override_file_with_version() {
170170
cache_from_amt="${1:-0}"
171171
[[ -n "${1:-}" ]] && shift; # remove the value if not empty
172172
if [[ "${cache_from_amt}" -gt 0 ]]; then
173-
for amt in $(seq 1 "$cache_from_amt"); do
173+
for _ in $(seq 1 "$cache_from_amt"); do
174174
cache_from+=( "$1" ); shift
175175
done
176176
fi
@@ -179,7 +179,7 @@ function build_image_override_file_with_version() {
179179
labels_amt="${1:-0}"
180180
[[ -n "${1:-}" ]] && shift; # remove the value if not empty
181181
if [[ "${labels_amt}" -gt 0 ]]; then
182-
for amt in $(seq 1 "$labels_amt"); do
182+
for _ in $(seq 1 "$labels_amt"); do
183183
labels+=( "$1" ); shift
184184
done
185185
fi

0 commit comments

Comments
 (0)