helpers: Pop pwd correctly when not needing to update

pull/1921/head
Noah Gorny 2021-08-17 23:40:19 +03:00
parent 9cc36de58e
commit caec973c18
1 changed files with 1 additions and 0 deletions

View File

@ -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