Skip to content

Commit b2329b8

Browse files
committed
Fail the script if duplicate deps found
1 parent d588d4b commit b2329b8

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

ci/run_task.sh

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -298,7 +298,7 @@ do_dup_deps() {
298298

299299
if [ "$duplicate_dependencies" -ne 0 ]; then
300300
cargo tree --target=all --all-features --duplicates
301-
say_err "Dependency tree is broken, contains duplicates"
301+
err "Dependency tree is broken, contains duplicates"
302302
fi
303303

304304
set -o pipefail
@@ -345,10 +345,6 @@ say() {
345345
echo "run_task: $1"
346346
}
347347

348-
say_err() {
349-
say "$1" >&2
350-
}
351-
352348
verbose_say() {
353349
case "${MAINTAINER_TOOLS_LOG_LEVEL:-verbose}" in
354350
quiet)

0 commit comments

Comments
 (0)