Skip to content

Commit

Permalink
Update tree_sitter_maker.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
garam-kim1 authored Apr 14, 2024
1 parent 74ad7a4 commit e7c7d84
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/tree_sitter_maker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ jobs:
find . -type f -name '*python*' -exec bash -c 'mv "$0" "${0//python/mojo}"' {} \;
# Then, rename directories
find . -depth -type d -name '*python*' -execdir bash -c 'mv "$1" "${1//python/mojo}"' bash {} \;
find . -type d -name '*python*' -exec bash -c 'for dir; do if ! find "$dir" -mindepth 1 -type d -name "*python*" | grep -q .; then mv "$dir" "${dir//python/mojo}"; fi; done' bash {} +
- name: Restore backups
run: |
Expand Down

0 comments on commit e7c7d84

Please sign in to comment.