Skip to content

Commit d0a69ce

Browse files
committed
Docs: fix wrong function name
1 parent 908980d commit d0a69ce

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,14 +23,14 @@ $ yarn add is-git-remote
2323
```js
2424
const isGitRemote = require('is-git-remote'); // import isGitRemote from 'is-git-remote'
2525

26-
countGitTags('www.github.com/username/repo-that-exists'); // => true
26+
isGitRemote('www.github.com/username/repo-that-exists'); // => true
2727

28-
countGitTags('https://www.github.com/username/repo-that-exists'); // => true
28+
isGitRemote('https://www.github.com/username/repo-that-exists'); // => true
2929

30-
countGitTags('username/repo-that-exists', 'bitbucket.com'); // => true
30+
isGitRemote('username/repo-that-exists', 'bitbucket.com'); // => true
3131

3232
// automatically checks github if no host is provided
33-
countGitTags('username/repo-that-not-exists'); // => false
33+
isGitRemote('username/repo-that-not-exists'); // => false
3434
```
3535

3636
## LICENSE

0 commit comments

Comments
 (0)