Skip to content

Commit

Permalink
fix prepare_commit.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
3nids authored Dec 3, 2024
1 parent a6946c6 commit 496aff7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/prepare_commit.sh
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ for f in $MODIFIED; do
esac

# only run astyle on sipified directories, others are handled by clang-format (see .pre-commit-config.yaml)
if [[ $f =~ "^src/(core|gui|analysis|3d|server)" ]]; then
if [[ $f =~ ^src/(core|gui|analysis|3d|server) ]]; then
m=$f.$REV.prepare
cp "$f" "$m"
ASTYLEPROGRESS=" [$i/$N]" astyle.sh "$f"
Expand Down

0 comments on commit 496aff7

Please sign in to comment.