diff options
Diffstat (limited to 'node_modules/hosted-git-info/git-host.js')
-rw-r--r-- | node_modules/hosted-git-info/git-host.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/node_modules/hosted-git-info/git-host.js b/node_modules/hosted-git-info/git-host.js index ea31380a4..3ce4bc365 100644 --- a/node_modules/hosted-git-info/git-host.js +++ b/node_modules/hosted-git-info/git-host.js @@ -81,6 +81,10 @@ GitHost.prototype.path = function () { return this._fill(this.pathtemplate) } +GitHost.prototype.tarball = function () { + return this._fill(this.tarballtemplate) +} + GitHost.prototype.file = function (P) { return this._fill(this.filetemplate, { path: P.replace(/^[/]+/g, '') |