lib/tutter/action/sppuppet.rb in tutter-sppuppet-1.0.0 vs lib/tutter/action/sppuppet.rb in tutter-sppuppet-1.0.1
- old
+ new
@@ -40,10 +40,10 @@
when 'pull_request'
# If a new pull request is opened, comment with instructions
if @data['action'] == 'opened' && @settings['post_instructions']
issue = @data['number']
- comment = @settings['instructions'] || "To merge at least #{@settings['plus_ones_required']} person other than the submitter needs to write a comment with saying _+1_ or :+1:. Then write _!merge_ or :shipit: to trigger the merging."
+ comment = @settings['instructions'] || "To merge at least #{@settings['plus_ones_required']} person other than the submitter needs to write a comment containing only _+1_ or :+1:. Then write _!merge_ or :shipit: to trigger merging."
return post_comment(issue, comment)
else
return 200, 'Not posting instructions'
end
else