From 7083ba6e3034eaa8c9ce4f9adee07431d2b8bf7b Mon Sep 17 00:00:00 2001 From: Alex Canessa Date: Thu, 12 Nov 2015 21:22:19 +0000 Subject: [PATCH] [fix]: Change the prototype constructor --- src/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.js b/src/index.js index 192ed6a9..c3e114ad 100644 --- a/src/index.js +++ b/src/index.js @@ -200,7 +200,7 @@ function GithubReleaseNotes(options) { /** * Get All the tags, get the dates, get the commits between those dates and prepeare the release */ -githubReleaseNotes.prototype.init = function() { +GithubReleaseNotes.prototype.init = function() { getLatestRelease().then(function (releaseTagName) { getLastTag(releaseTagName).then(function (tags) { if(tags.length === 1) {