Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/npm/cli.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'node_modules/hosted-git-info/git-host.js')
-rw-r--r--node_modules/hosted-git-info/git-host.js4
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, '')