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