Skip to content

Commit

Permalink
address review
Browse files Browse the repository at this point in the history
  • Loading branch information
blink1073 committed Sep 27, 2023
1 parent a016a1c commit 203d831
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions etc/cherry-picker.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ if [ -z "$user" ]; then
fi

mkdir -p $dirname
if [ -z $AUTH_TOKEN ]; then
if [ -z "$AUTH_TOKEN" ]; then
git clone git@github.com:mongodb/mongo-go-driver.git $dirname
else
echo "$AUTH_TOKEN" > mytoken.txt
Expand All @@ -23,7 +23,7 @@ else
fi

cd $dirname
if [ -z $AUTH_TOKEN ]; then
if [ -z "$AUTH_TOKEN" ]; then
git remote add $user git@github.com:$user/mongo-go-driver.git
else
git remote add $user https://$user:${AUTH_TOKEN}@github.com/$user/mongo-go-driver.git
Expand Down

0 comments on commit 203d831

Please sign in to comment.