Skip to content
This repository has been archived by the owner on Mar 3, 2022. It is now read-only.

Commit

Permalink
Fix for #255
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexChesters committed Oct 17, 2015
1 parent bad9794 commit b66fb99
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions ghi
Original file line number Diff line number Diff line change
Expand Up @@ -2225,9 +2225,9 @@ On <%= repo %>
EOF
message.rstrip!
message.gsub!(/(?!\A)^.*$/) { |line|
unless line.empty?
"# #{line}".rstrip
end
# unless line.empty?
"# #{line}".rstrip
# end
}
message.insert 0, [
issue['title'] || issue[:title], issue['body'] || issue[:body]
Expand Down
6 changes: 3 additions & 3 deletions lib/ghi/formatting.rb
Original file line number Diff line number Diff line change
Expand Up @@ -379,9 +379,9 @@ def format_editor issue = nil
EOF
message.rstrip!
message.gsub!(/(?!\A)^.*$/) { |line|
unless line.empty?
"# #{line}".rstrip
end
# unless line.empty?
"# #{line}".rstrip
# end
}
message.insert 0, [
issue['title'] || issue[:title], issue['body'] || issue[:body]
Expand Down

0 comments on commit b66fb99

Please sign in to comment.