Skip to content

Commit

Permalink
fix(app): Fix issue with commit links in changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
thaiat committed Jun 20, 2016
1 parent 4c5339b commit e2671f7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/changelog-script.js
Original file line number Diff line number Diff line change
Expand Up @@ -218,9 +218,9 @@ var generate = function(version, from, file) {
});
};

var init = function(config) {
LINK_ISSUE = '[#%s](' + config.repository + '/issues/%s)';
LINK_COMMIT = '[%s](' + config.repository + '/commit/%s)';
var init = function(repository) {
LINK_ISSUE = '[#%s](' + repository + '/issues/%s)';
LINK_COMMIT = '[%s](' + repository + '/commit/%s)';
};

module.exports = {
Expand Down

0 comments on commit e2671f7

Please sign in to comment.