File tree Expand file tree Collapse file tree 2 files changed +1
-17
lines changed Expand file tree Collapse file tree 2 files changed +1
-17
lines changed Original file line number Diff line number Diff line change 11#! /bin/bash
22
3- echo " full list of remotes"
4- git remote -v
5-
6- printf " \n\n"
7-
8- echo " push origin remote"
9- git remote get-url --push origin
10-
11- printf " \n\n"
12-
13- echo " looking for 'github.com:mongodb' in uri"
14- git remote get-url --push origin | grep -v " github.com:mongodb"
15-
16- printf " \n\n"
17-
18- if git remote get-url --push origin | grep -qv " github.com:mongodb" ; then
3+ if git remote get-url --push origin | grep -qv " github.com:mongodb\|github.com/mongodb" ; then
194 echo " git remote does not match node-mongodb-native. are you working off of a fork?"
205 exit 1
216fi
Original file line number Diff line number Diff line change @@ -76,7 +76,6 @@ async function main() {
7676 try {
7777 await exec ( 'bash ./etc/check-remote.sh' ) ;
7878 } catch ( error ) {
79- console . error ( error . stderr ) ;
8079 console . error ( error . stdout ) ;
8180 process . exit ( 1 ) ;
8281 }
You can’t perform that action at this time.
0 commit comments