Skip to content
This repository has been archived by the owner on Jun 2, 2020. It is now read-only.

Commit

Permalink
Add missing arg
Browse files Browse the repository at this point in the history
  • Loading branch information
tombell committed Aug 8, 2017
1 parent 8d1674d commit d54fc0a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/hubrelease/releases.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ def self.create_or_update(tag, issues, reverts, labels, attachments, prerelease,
raise Octokit::NotFound if release.id.nil?
update(release, tag, generate_body(issues, reverts, labels, watched), attachments, prerelease)
rescue Octokit::NotFound
create(tag, generate_body(issues, reverts, labels), attachments, prerelease)
create(tag, generate_body(issues, reverts, labels, watched), attachments, prerelease)
end

def self.generate_body(issues, reverts, labels, watched)
Expand Down

0 comments on commit d54fc0a

Please sign in to comment.