Skip to content

Commit 2e06ad4

Browse files
committed
arch: fix shellcheck warning, add baudbot to lint targets
1 parent 583628c commit 2e06ad4

2 files changed

Lines changed: 2 additions & 5 deletions

File tree

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727

2828
- name: ShellCheck
2929
run: |
30-
find bin/ setup.sh start.sh -type f \( -name '*.sh' -o -name 'baudbot-safe-bash' -o -name 'baudbot-docker' \) \
30+
find bin/ setup.sh start.sh install.sh -type f \( -name '*.sh' -o -name 'baudbot-safe-bash' -o -name 'baudbot-docker' -o -name 'baudbot' \) \
3131
| xargs shellcheck -s bash -S warning
3232
3333
test:

bin/doctor.sh

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,10 @@
66

77
set -euo pipefail
88

9-
FIX=false
109
for arg in "$@"; do
1110
case "$arg" in
12-
--fix) FIX=true ;;
1311
-h|--help)
14-
echo "Usage: baudbot doctor [--fix]"
15-
echo " --fix Attempt to fix issues (requires root)"
12+
echo "Usage: baudbot doctor"
1613
exit 0
1714
;;
1815
esac

0 commit comments

Comments
 (0)