fix patch

This commit is contained in:
2025-08-29 14:00:42 -05:00
parent b1c89719d0
commit 0d515af0f0
4 changed files with 11 additions and 10 deletions

View File

@@ -5,7 +5,10 @@ base="$(dirname "$(readlink -f "$0")")"
inotifywait -m -r \
-e close_write \
-e moved_to \
--format '%w%f' "$base/lib" "$base/scripts" | while read -r file; do
--format '%w%f' \
"$base/lib" \
"$base/scripts" \
"$base/main.sh" | while read -r file; do
if [[ -f $file && $file =~ .sh ]]; then
shfmt --write --simplify "$file"
fi