Skip to content

Commit

Permalink
fix: shellcheck rules [SC1091] [SC2162]
Browse files Browse the repository at this point in the history
  • Loading branch information
askonev committed Mar 13, 2024
1 parent 513f271 commit c604a33
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/survey.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@

while true; do

read -p "Do you want to proceed? (yes/no) " yn
echo "Do you want to proceed? (yes/no) "
read -r yn

case $yn in
yes ) echo ok, we will proceed;
Expand Down
1 change: 1 addition & 0 deletions restore_backup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
echo 'The script restores the default state of the \
public schema, which will delete all data'

# shellcheck source=lib/survey.sh
source lib/survey.sh

# Correctly configure aws cli before running this script
Expand Down

0 comments on commit c604a33

Please sign in to comment.