Page MenuHomePhabricator

D4718.diff
No OneTemporary

D4718.diff

diff --git a/scripts/rust_pre_commit.sh b/scripts/rust_pre_commit.sh
--- a/scripts/rust_pre_commit.sh
+++ b/scripts/rust_pre_commit.sh
@@ -2,14 +2,15 @@
set -e
-source $HOME/.cargo/env
+# shellcheck source=/dev/null
+source "$HOME"/.cargo/env
PATHS="services/commtest"
cargo > /dev/null
for PATH in $PATHS; do
- pushd $PATH
+ pushd "$PATH"
echo "formatting $PATH..."
cargo fmt --all -- --check
echo "checking $PATH..."

File Metadata

Mime Type
text/plain
Expires
Wed, Nov 6, 2:06 AM (8 h, 7 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2427331
Default Alt Text
D4718.diff (447 B)

Event Timeline