mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-05-12 20:01:48 +02:00
Update weekly_bashbeautify.yaml
This commit is contained in:
3
.github/workflows/weekly_bashbeautify.yaml
vendored
3
.github/workflows/weekly_bashbeautify.yaml
vendored
@@ -28,11 +28,10 @@ jobs:
|
|||||||
|
|
||||||
- name: Run Beautysh
|
- name: Run Beautysh
|
||||||
run: |
|
run: |
|
||||||
# shellcheck disable=SC2035
|
|
||||||
find . -name '*.sh' -print0 | xargs -0 beautysh --indent-size 4
|
find . -name '*.sh' -print0 | xargs -0 beautysh --indent-size 4
|
||||||
shopt -s globstar nullglob
|
shopt -s globstar nullglob
|
||||||
if compgen -G "**/*.sh" > /dev/null; then
|
if compgen -G "**/*.sh" > /dev/null; then
|
||||||
beautysh **/*.sh --indent-size 4 --check
|
beautysh -- **/*.sh --indent-size 4 --check
|
||||||
fi
|
fi
|
||||||
shopt -u globstar nullglob
|
shopt -u globstar nullglob
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user