diff options
author | Lars Wirzenius <liw@liw.fi> | 2021-07-22 10:22:04 +0300 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2021-07-22 13:04:27 +0300 |
commit | 41c1a815c517472e2f3a076a307c2fc1d0175a10 (patch) | |
tree | 262595497b82612b973e89a2e8bdec42553579a3 | |
parent | 3dd616ab8c24db0dd780306c25d3097f8dcaf1f8 (diff) | |
download | ewww-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-x | check | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -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 |