Skip to content

Commit

Permalink
Merge pull request fedimint#6395 from dpc/24-11-18-faster-pr-commit
Browse files Browse the repository at this point in the history
chore(dev): speed up pre-commit check
  • Loading branch information
tvolk131 authored Nov 19, 2024
2 parents eb2be35 + f4bea71 commit 93816ed
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .config/flakebox/id
Original file line number Diff line number Diff line change
@@ -1 +1 @@
f8574bba32eb0a741153928d8ee13d4f4cfe30a91b9a0f860472fea3e85a9551ff71b39aa51852e7a46628d096219eee4ee3809f888ec88e6b99276207b86fd2
b9b059bd4917f7871f723d03b6339848449615c05ac21e50db8c74298f396dd8ce6f39aa30b2c1cb9d172331d1f0c7d30a760a99fcb4f71e96d29abc9f40de05
2 changes: 1 addition & 1 deletion misc/git-hooks/pre-commit
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ function check_check_forbidden_dependencies() {
return 1
fi
done
find ./ -name Cargo.lock | while read -r cargo_lock ; do
echo Cargo.lock | while read -r cargo_lock ; do
if grep -E "openssl" "$cargo_lock" >&2 ; then
>&2 echo "$cargo_lock must not depend on openssl"
return 1
Expand Down
2 changes: 1 addition & 1 deletion nix/check-forbidden-deps.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ find fedimint-client/ -name Cargo.toml | while read -r cargo_toml ; do
return 1
fi
done
find ./ -name Cargo.lock | while read -r cargo_lock ; do
echo Cargo.lock | while read -r cargo_lock ; do
if grep -E "openssl" "$cargo_lock" >&2 ; then
>&2 echo "$cargo_lock must not depend on openssl"
return 1
Expand Down

0 comments on commit 93816ed

Please sign in to comment.