Skip to content

Commit

Permalink
Changed let to var
Browse files Browse the repository at this point in the history
To support node versions less than 6
  • Loading branch information
Johan Lindell committed Mar 29, 2018
1 parent 505762b commit f2d9474
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ PublishRelease.prototype.publish = function publish () {
}, function (err, res, body) {
if (err) return callback(err) // will be handled by asyncAutoCallback

let bodyReturn = null
var bodyReturn = null

async.eachSeries(body, function (el, callback) {
if (el.tag_name === opts.tag) {
Expand Down

0 comments on commit f2d9474

Please sign in to comment.