Skip to content
This repository was archived by the owner on Nov 15, 2023. It is now read-only.
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
put uniq after sort
uniq filters by adjacent lines
  • Loading branch information
joao-paulo-parity committed Nov 22, 2022
commit 1f213483fe7a779d7633704bc10d56a2720e5ba2
4 changes: 2 additions & 2 deletions scripts/ci/gitlab/check-each-crate.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ groups_total="$2"
readarray -t workspace_crates < <(\
cargo tree --workspace --depth 0 --prefix none | \
awk '{ if (length($1) == 0 || substr($1, 1, 1) == "[") { skip } else { print $1 } }' | \
uniq | \
sort
sort |
uniq
)

crates_total=${#workspace_crates[*]}
Expand Down