forked from bchanot/claude
chore(lint): silence SC1091 info notes — shellcheck health stack exits clean
This commit is contained in:
@@ -36,7 +36,7 @@ fi
|
|||||||
# ── Load shared detection library ──
|
# ── Load shared detection library ──
|
||||||
_lib="$(dirname "${BASH_SOURCE[0]}")/../lib/detect-plugins.sh"
|
_lib="$(dirname "${BASH_SOURCE[0]}")/../lib/detect-plugins.sh"
|
||||||
if [ -f "$_lib" ]; then
|
if [ -f "$_lib" ]; then
|
||||||
# shellcheck source=../lib/detect-plugins.sh
|
# shellcheck source=../lib/detect-plugins.sh disable=SC1091
|
||||||
source "$_lib"
|
source "$_lib"
|
||||||
else
|
else
|
||||||
echo "⚠️ lib/detect-plugins.sh not found — config broken, run: bash link.sh"
|
echo "⚠️ lib/detect-plugins.sh not found — config broken, run: bash link.sh"
|
||||||
|
|||||||
@@ -197,6 +197,7 @@ if command -v cargo &>/dev/null; then
|
|||||||
else
|
else
|
||||||
info "Installing Rust (rustup)..."
|
info "Installing Rust (rustup)..."
|
||||||
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --no-modify-path
|
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --no-modify-path
|
||||||
|
# shellcheck source=/dev/null
|
||||||
source "$HOME/.cargo/env"
|
source "$HOME/.cargo/env"
|
||||||
ok "Rust installed: $(cargo --version)"
|
ok "Rust installed: $(cargo --version)"
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user