# Traverse up in directory tree to find containing folder
nvm_find_up(){
local path
path=$(pwd)
while[["$path" !=""&& ! -e"$path/$1"]];do
path=$PWD
while["$path" !=""]&&[ ! -f"$path/$1"];do
path=${path%/*}
done
echo"$path"
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.