Skip dirname stderr

pull/1944/head
Konstantin Gredeskoul 2021-04-29 20:20:12 -07:00
parent a30b04f376
commit 977cacf54a
No known key found for this signature in database
GPG Key ID: F64DECB748F527EB
1 changed files with 1 additions and 1 deletions

View File

@ -85,7 +85,7 @@ function __find_nearest_go_mod() {
printf "${path}/go.mod" printf "${path}/go.mod"
return 0 return 0
fi fi
path=$(dirname ${path}) path=$(dirname ${path} 2>/dev/null)
done done
} }