Skip to content

Commit

Permalink
added {0}
Browse files Browse the repository at this point in the history
  • Loading branch information
guocuimi committed Feb 12, 2025
1 parent 1011e33 commit fac9dcd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/format.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
fetch-depth: 0

- name: Run clang-format
shell: /usr/bin/bash
shell: /usr/bin/bash {0}
run: |
diff=`git-clang-format --extensions="c,h,cc,cp,cpp,c++,cxx,hh,hpp,hxx,inc,cu,cuh" --commit ${{ github.event.pull_request.base.sha }} --diff`
[ "$diff" = "no modified files to format" ] && exit 0
Expand Down

0 comments on commit fac9dcd

Please sign in to comment.