Skip to content

Commit 8a5dab0

Browse files
committed
fix(install): resolve shellcheck SC2115 warning with parameter expansion
1 parent e0c1554 commit 8a5dab0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

install.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -336,7 +336,7 @@ uninstall_llm_env() {
336336

337337
# Remove lib directory and dependencies
338338
if [[ -d "$INSTALL_DIR/lib" ]]; then
339-
if rm -rf "$INSTALL_DIR/lib"; then
339+
if rm -rf "${INSTALL_DIR:?}/lib"; then
340340
print_success "Removed $INSTALL_DIR/lib directory"
341341
else
342342
print_error "Failed to remove $INSTALL_DIR/lib directory"

0 commit comments

Comments
 (0)