Skip to content

Commit

Permalink
(script) Ignore shellcheck issue
Browse files Browse the repository at this point in the history
Disable SC2317 as the `confirm` function is invoked indirectly.
  • Loading branch information
danguita committed Dec 2, 2023
1 parent 8a01dc0 commit aaf80b3
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions kickstart/install-arch.sh
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ say() {
printf "\n[$(date --iso-8601=seconds)] %s\n" "$1"
}

# shellcheck disable=SC2317
confirm() {
while true; do
read -r -p "$1 (y/[n]): " answer
Expand Down
1 change: 1 addition & 0 deletions kickstart/install-void.sh
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ say() {
printf "\n[$(date --iso-8601=seconds)] %s\n" "$1"
}

# shellcheck disable=SC2317
confirm() {
while true; do
read -r -p "$1 (y/[n]): " answer
Expand Down
1 change: 1 addition & 0 deletions kickstart/kickstart-arch.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ say() {
printf "\n[$(date --iso-8601=seconds)] %s\n" "$1"
}

# shellcheck disable=SC2317
confirm() {
while true; do
read -r -p "$1 (y/[n]): " answer
Expand Down
1 change: 1 addition & 0 deletions kickstart/kickstart-debian.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ say() {
printf "\n[$(date --iso-8601=seconds)] %s\n" "$1"
}

# shellcheck disable=SC2317
confirm() {
while true; do
read -r -p "$1 (y/[n]): " answer
Expand Down
1 change: 1 addition & 0 deletions kickstart/kickstart-void.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ say() {
printf "\n[$(date --iso-8601=seconds)] %b\n" "$1"
}

# shellcheck disable=SC2317
confirm() {
while true; do
read -r -p "$1 (y/[n]): " answer
Expand Down

0 comments on commit aaf80b3

Please sign in to comment.