helpers: Pop pwd correctly when not needing to update
parent
9cc36de58e
commit
caec973c18
|
|
@ -243,6 +243,7 @@ _bash-it-update-() {
|
|||
|
||||
if [[ -z "$TARGET" ]]; then
|
||||
echo "Can not find tags, so can not update to latest stable version..."
|
||||
cd "${old_pwd}" &> /dev/null
|
||||
return
|
||||
fi
|
||||
else
|
||||
|
|
|
|||
Loading…
Reference in New Issue