Skip to content

Commit 067fd7f

Browse files
OiYouYeahYouaeschright
authored andcommitted
comittish -> committish (npm#42)
Seems some of the instances did not get replaced in #c4aa65618ec8b5eeb77ab2893a918746f0deeaf8 Credit: @OiYouYeahYou
1 parent ab35a90 commit 067fd7f

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

git-host.js

+4-4
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ GitHost.prototype._fill = function (template, opts) {
3232
if (self[key] != null && vars[key] == null) vars[key] = self[key]
3333
})
3434
var rawAuth = vars.auth
35-
var rawComittish = vars.committish
35+
var rawcommittish = vars.committish
3636
var rawFragment = vars.fragment
3737
var rawPath = vars.path
3838
Object.keys(vars).forEach(function (key) {
@@ -46,10 +46,10 @@ GitHost.prototype._fill = function (template, opts) {
4646
if (opts.noCommittish) {
4747
vars['#committish'] = ''
4848
vars['/tree/committish'] = ''
49-
vars['/comittish'] = ''
50-
vars.comittish = ''
49+
vars['/committish'] = ''
50+
vars.committish = ''
5151
} else {
52-
vars['#committish'] = rawComittish ? '#' + rawComittish : ''
52+
vars['#committish'] = rawcommittish ? '#' + rawcommittish : ''
5353
vars['/tree/committish'] = vars.committish
5454
? '/' + vars.treepath + '/' + vars.committish
5555
: ''

0 commit comments

Comments
 (0)