Skip to content

Commit

Permalink
fix(fmt): don't format shell files in .bootstrap (#59)
Browse files Browse the repository at this point in the history
  • Loading branch information
malept authored Oct 8, 2021
1 parent 4593188 commit 5734302
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion shell/fmt.sh
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ info_sub "clang-format"
find . -path "$(get_repo_directory)/api/clients" -prune -o -name '*.proto' -exec "$SCRIPTS_DIR/clang-format.sh" -style=file -i {} \;

info_sub "shfmt"
find . -path ./vendor -prune -o -name node_modules -type d \
find . -path ./vendor -prune -o -path ./.bootstrap -prune -o -name node_modules -type d \
-prune -o -type f -name '*.sh' -exec "$SCRIPTS_DIR/shfmt.sh" -w -l {} +

info_sub "Prettier (yaml/json)"
Expand Down

0 comments on commit 5734302

Please sign in to comment.