Skip to content

Commit fca0d04

Browse files
xtqqczzesylvestre
authored andcommitted
pre-commit: update cargo-lock-check to suggest changes
1 parent 88fb82a commit fca0d04

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ repos:
4747
- id: cargo-lock-check
4848
name: Cargo.lock sync check
4949
description: Ensure Cargo.lock and fuzz/Cargo.lock are up-to-date.
50-
entry: bash -c 'for dir in . fuzz; do ( cd "$dir" && cargo fetch --locked --quiet ) || { echo "ERROR - $dir/Cargo.lock is out of date. Run -> cd $dir && cargo update"; exit 1; } done'
50+
entry: bash -c 'for dir in . fuzz; do ( cd "$dir" && cargo fetch --quiet ); done'
5151
pass_filenames: false
5252
files: 'Cargo\.(toml|lock)$'
5353
language: system

0 commit comments

Comments
 (0)