We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents fffcd4b + 1568789 commit 86b04cbCopy full SHA for 86b04cb
ci/style.sh
@@ -11,7 +11,7 @@ rustfmt -V
11
cargo fmt --all -- --check
12
13
if shellcheck --version ; then
14
- find . -name '*.sh' -exec shellcheck {} ';'
+ find . -name '*.sh' -print0 | xargs -0 shellcheck
15
else
16
echo "shellcheck not found"
17
exit 1
@@ -29,4 +29,12 @@ for file in libc-test/semver/*.txt; do
29
echo "Unsorted semver file $file"
30
31
fi
32
+
33
+ duplicates=$(uniq -d "$file")
34
+ if [ -n "$duplicates" ]; then
35
+ echo "Semver file $file contains duplicates:"
36
+ echo "$duplicates"
37
38
+ exit 1
39
+ fi
40
done
0 commit comments