summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2021-07-22 10:22:04 +0300
committerLars Wirzenius <liw@liw.fi>2021-07-22 13:04:27 +0300
commit41c1a815c517472e2f3a076a307c2fc1d0175a10 (patch)
tree262595497b82612b973e89a2e8bdec42553579a3
parent3dd616ab8c24db0dd780306c25d3097f8dcaf1f8 (diff)
downloadewww-41c1a815c517472e2f3a076a307c2fc1d0175a10.tar.gz
chore: tell shellcheck to not worry about unquoted variable
In this case, not quoting is the right thing to do. Sponsored-by: author
-rwxr-xr-xcheck6
1 files changed, 5 insertions, 1 deletions
diff --git a/check b/check
index b55a411..606241e 100755
--- a/check
+++ b/check
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
set -eu
@@ -48,9 +48,13 @@ docgen() {
$hideok cargo build --all-targets
if cargo --list | awk '{ print $1 }' | grep 'clippy$' > /dev/null
then
+ # shellcheck disable=SC2086
cargo clippy $quiet
fi
+
+# shellcheck disable=SC2086
$hideok cargo test $quiet
+
if cargo fmt --help > /dev/null 2> /dev/null
then
$hideok cargo fmt -- --check