Skip to content

Commit 56675bc

Browse files
committed
Init the function and exports the constructor
1 parent 5d52b16 commit 56675bc

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

github-release-notes.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
'use strict';
22

3-
var githubReleaseNotes = require('./lib/github-release-notes');
3+
var githubReleaseNotes = require('./lib/index');
44
githubReleaseNotes.init();

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "github-release-notes",
33
"version": "0.1.0",
44
"description": "Node module to publish release notes based on commits between the last two tags.",
5-
"main": "./lib/github-release-notes.js",
5+
"main": "./lib/index.js",
66
"scripts": {
77
"start": "node github-release-notes.js",
88
"test": "echo \"Error: no test specified\" && exit 1"
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -215,4 +215,6 @@ githubReleaseNotes.prototype.init = function() {
215215
});
216216
};
217217

218+
githubReleaseNotes.init();
219+
218220
module.exports = githubReleaseNotes;

0 commit comments

Comments
 (0)