Skip to content

Commit de533ed

Browse files
authored
Merge pull request #77 from friederbluemle/fix-typos
Fix GitHub spelling
2 parents a810463 + 518725a commit de533ed

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ var info = hostedGitInfo.fromUrl("[email protected]:npm/hosted-git-info.git", opts)
2222
If the URL can't be matched with a git host, `null` will be returned. We
2323
can match git, ssh and https urls. Additionally, we can match ssh connect
2424
strings (`[email protected]:npm/hosted-git-info`) and shortcuts (eg,
25-
`github:npm/hosted-git-info`). Github specifically, is detected in the case
25+
`github:npm/hosted-git-info`). GitHub specifically, is detected in the case
2626
of a third, unprefixed, form: `npm/hosted-git-info`.
2727

2828
If it does match, the returned object has properties of:
@@ -129,5 +129,5 @@ SSH connect strings will be normalized into `git+ssh` URLs.
129129

130130
## Supported hosts
131131

132-
Currently this supports Github, Bitbucket and Gitlab. Pull requests for
132+
Currently this supports GitHub, Bitbucket and GitLab. Pull requests for
133133
additional hosts welcome.

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "hosted-git-info",
33
"version": "3.0.8",
4-
"description": "Provides metadata and conversions from repository urls for Github, Bitbucket and Gitlab",
4+
"description": "Provides metadata and conversions from repository urls for GitHub, Bitbucket and GitLab",
55
"main": "index.js",
66
"repository": {
77
"type": "git",

test/fixtures/github.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
'use strict'
22

33
module.exports = [
4-
// Github Shorturls
4+
// GitHub Shorturls
55
{
66
host: function (p) { return p.owner + '/' + p.project },
77
label: 'github-short'

0 commit comments

Comments
 (0)