Skip to content

Commit 0d487a0

Browse files
committed
[fix]: exporting the module
1 parent bcba818 commit 0d487a0

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/index.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,8 @@ function getLatestRelease() {
192192
*
193193
* @constructor
194194
*/
195-
function githubReleaseNotes(options) {
195+
function GithubReleaseNotes(options) {
196+
this.options = options || {};
196197
// Silence is golden
197198
}
198199

@@ -215,6 +216,7 @@ githubReleaseNotes.prototype.init = function() {
215216
});
216217
};
217218

219+
var githubReleaseNotes = new GithubReleaseNotes();
218220
githubReleaseNotes.init();
219221

220-
module.exports = githubReleaseNotes;
222+
module.exports = GithubReleaseNotes;

0 commit comments

Comments
 (0)