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 1
1
#! /bin/bash
2
2
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
19
4
echo " git remote does not match node-mongodb-native. are you working off of a fork?"
20
5
exit 1
21
6
fi
Original file line number Diff line number Diff line change @@ -76,7 +76,6 @@ async function main() {
76
76
try {
77
77
await exec ( 'bash ./etc/check-remote.sh' ) ;
78
78
} catch ( error ) {
79
- console . error ( error . stderr ) ;
80
79
console . error ( error . stdout ) ;
81
80
process . exit ( 1 ) ;
82
81
}
You can’t perform that action at this time.
0 commit comments