Skip to content

Commit 9704f21

Browse files
committed
fix: correct variable masking
1 parent 5184ff5 commit 9704f21

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

uninstall.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,8 @@ clean_shell_profile() {
146146
shell_type=$(detect_shell)
147147
local profile_path
148148
profile_path=$(get_shell_profile "$shell_type")
149-
local profile_backup="${profile_path}.bak.$(date +%s)"
149+
local profile_backup
150+
profile_backup="${profile_path}.bak.$(date +%s)"
150151

151152
if [[ -f "$profile_path" ]]; then
152153
print_info "Checking shell profile: $(basename "$profile_path")"

0 commit comments

Comments
 (0)