Skip to content

Commit

Permalink
#9 Fixed SC2086 – ShellCheck
Browse files Browse the repository at this point in the history
  • Loading branch information
Mikhail Epatko committed Mar 6, 2024
1 parent 42e6d5b commit 1d23c4c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Expand Up @@ -3,7 +3,7 @@ on: [push]
jobs:

tests_job:
name: Shellcheck
name: Test scripts
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
Expand Down
4 changes: 2 additions & 2 deletions generate-badge.sh
Expand Up @@ -22,11 +22,11 @@ while getopts 'b:d:e:f:o:s:' opt; do
Since="$OPTARG"
;;
:)
echo "Usage: $(basename $0) [-b Before] [-d Dir] [-e Exclude] [-f Filename] [-o OutputDir] [-s Since]"
echo "Usage: $(basename "$0") [-b Before] [-d Dir] [-e Exclude] [-f Filename] [-o OutputDir] [-s Since]"
exit 1
;;
?)
echo "Usage: $(basename $0) [-b Before] [-d Dir] [-e Exclude] [-f Filename] [-o OutputDir] [-s Since]"
echo "Usage: $(basename "$0") [-b Before] [-d Dir] [-e Exclude] [-f Filename] [-o OutputDir] [-s Since]"
exit 1
;;
esac
Expand Down

0 comments on commit 1d23c4c

Please sign in to comment.