From 5d3f43c10b0b110ed064c9ca907bf7db78fa07df Mon Sep 17 00:00:00 2001 From: Ryo Onodera Date: Wed, 25 Mar 2020 12:10:20 +0900 Subject: [PATCH] Ignore RUSTSEC-2020-0006 for the moment (#9057) automerge --- ci/_ | 8 +++++++- ci/test-checks.sh | 3 ++- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/ci/_ b/ci/_ index aeabaa7636..7f7fbd99a2 100644 --- a/ci/_ +++ b/ci/_ @@ -5,7 +5,13 @@ # |source| me # +base_dir=$(realpath --strip "$(dirname "$0")/..") + _() { - echo "--- $*" + if [[ $(pwd) = $base_dir ]]; then + echo "--- $*" + else + echo "--- $* (wd: $(pwd))" + fi "$@" } diff --git a/ci/test-checks.sh b/ci/test-checks.sh index 1d73de5b1b..80674f23b8 100755 --- a/ci/test-checks.sh +++ b/ci/test-checks.sh @@ -30,7 +30,8 @@ _ ci/check-ssh-keys.sh { cd programs/bpf - _ cargo +"$rust_stable" audit + # ignore RUSTSEC-2020-0006: https://github.com/rustwasm/wasm-bindgen/issues/2050 + _ cargo +"$rust_stable" audit --ignore RUSTSEC-2020-0006 for project in rust/*/ ; do echo "+++ do_bpf_checks $project" (