cargo lock updater: dont pipe to grep
This commit is contained in:
parent
1c3adc487c
commit
67f6bff5eb
|
@ -1,5 +1,5 @@
|
|||
#!/usr/bin/env zsh
|
||||
for file in $(git ls-files | grep Cargo.lock); do
|
||||
for file in $(git ls-files '*Cargo.lock'); do
|
||||
(cd "$(dirname "$file")" && cargo update -wq)
|
||||
git add $file
|
||||
done
|
||||
|
|
Loading…
Reference in a new issue