Skip to content

Commit d4c77ab

Browse files
authored
chore: put check-remote script back to fix docs build (mongodb#3739)
1 parent aed2e06 commit d4c77ab

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

etc/check-remote.sh

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
#! /bin/bash
2+
3+
if git remote get-url --push origin | grep -qv "github.com:mongodb\|github.com/mongodb"; then
4+
echo "git remote does not match node-mongodb-native. are you working off of a fork?"
5+
exit 1
6+
fi

0 commit comments

Comments
 (0)