Skip to content

Commit

Permalink
Fix ci/install-component.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
taiki-e committed Apr 24, 2020
1 parent f627916 commit 3060c18
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions ci/install-component.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,7 @@ if ! rustup component add "${component}" 2>/dev/null; then
target=$(curl -sSf "https://rust-lang.github.io/rustup-components-history/x86_64-unknown-linux-gnu/${component}")
echo "'${component}' is unavailable on the default toolchain, use the toolchain 'nightly-${target}' instead"

# shellcheck disable=SC1091
. ci/scripts/install-rust.sh "nightly-${target}"
. ci/install-rust.sh "nightly-${target}"

rustup component add "${component}"
fi
Expand Down

0 comments on commit 3060c18

Please sign in to comment.