mirror of
https://github.com/Orange-OpenSource/hurl.git
synced 2024-12-26 20:42:01 +03:00
Fix update_crates.sh when there is no cargo lock updates
This commit is contained in:
parent
6fb9210436
commit
e542c27771
@ -150,7 +150,7 @@ main() {
|
||||
echo -e "\n--------------------------------------------------------"
|
||||
echo -e "### Crates updates for *Cargo.lock*\n"
|
||||
cargo update --color always -vv 2>&1 |
|
||||
grep -v "crates.io index" |
|
||||
(grep -v "crates.io index" || true) |
|
||||
tr -s ' ' |
|
||||
sed -r "s/\x1B\[([0-9]{1,3}(;[0-9]{1,2})?)?[mGK]//g" |
|
||||
sed "s/ Updating //g" |
|
||||
|
Loading…
Reference in New Issue
Block a user