File tree Expand file tree Collapse file tree 6 files changed +11
-8
lines changed
Expand file tree Collapse file tree 6 files changed +11
-8
lines changed Original file line number Diff line number Diff line change 8282 sh ./ci/raw_init.sh
8383 - name : Run shell checks
8484 run : |
85- shellcheck -s dash -- rustup-init.sh
86- git ls-files -- '*.sh' | xargs shellcheck -s dash -e SC1090
87- git ls-files -- '*.bash' | xargs shellcheck -s bash -e SC1090
85+ shellcheck -x - s dash -- rustup-init.sh
86+ git ls-files -- '*.sh' | xargs shellcheck -x -s dash
87+ git ls-files -- '*.bash' | xargs shellcheck -x -s bash
8888 - name : Run formatting checks
8989 run : |
9090 cargo fmt --all --check
Original file line number Diff line number Diff line change 8282 sh ./ci/raw_init.sh
8383 - name : Run shell checks
8484 run : |
85- shellcheck -s dash -- rustup-init.sh
86- git ls-files -- '*.sh' | xargs shellcheck -s dash -e SC1090
87- git ls-files -- '*.bash' | xargs shellcheck -s bash -e SC1090
85+ shellcheck -x - s dash -- rustup-init.sh
86+ git ls-files -- '*.sh' | xargs shellcheck -x -s dash
87+ git ls-files -- '*.bash' | xargs shellcheck -x -s bash
8888 - name : Run formatting checks
8989 run : |
9090 cargo fmt --all --check
Original file line number Diff line number Diff line change 1- #! /bin/bash
1+ #! /bin/bash
22
33set -ex
44
@@ -26,6 +26,7 @@ echo "Install Rustup using ./rustup-init.sh"
2626
2727sh rustup-init.sh --default-toolchain=stable --profile=minimal -y
2828# It's the equivalent of `source`
29+ # shellcheck source=src/cli/self_update/env.sh
2930source " $HOME " /.cargo/env
3031
3132echo " ========="
Original file line number Diff line number Diff line change 11#! /bin/bash
22
33script_dir=$( cd " $( dirname " $0 " ) " && pwd)
4+ # shellcheck source=ci/shared.bash
45. " $script_dir /shared.bash"
56
67set -e
Original file line number Diff line number Diff line change 33set -ex
44
55sh ./rustup-init.sh --default-toolchain none -y
6+ # shellcheck source=src/cli/self_update/env.sh
67. " $HOME " /.cargo/env
78rustup -Vv
Original file line number Diff line number Diff line change @@ -597,7 +597,7 @@ check_help_for() {
597597 esac
598598
599599 for _arg in " $@ " ; do
600- if ! " $_cmd " --help $_category | grep -q -- " $_arg " ; then
600+ if ! " $_cmd " --help " $_category " | grep -q -- " $_arg " ; then
601601 return 1
602602 fi
603603 done
You can’t perform that action at this time.
0 commit comments