Skip to content

Commit

Permalink
Merge pull request #12 from ashfurrow/newline-fix
Browse files Browse the repository at this point in the history
Fixed newline escaping.
  • Loading branch information
ashfurrow authored Jul 7, 2016
2 parents 8a735a8 + 3e7627e commit 68cd9f2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

## Current Master

- Nothing yet!
- Fixes double-escaped newline characters. See [#11](https://github.com/ashfurrow/danger-swiftlint/issues/11).

## 0.1.0

Expand Down
4 changes: 2 additions & 2 deletions lib/danger_plugin.rb
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,8 @@ def lint_files(files=nil)
def parse_results (results, heading)
message = "#### #{heading}\n\n"

message << 'File | Line | Reason |\n'
message << '| --- | ----- | ----- |\n'
message << "File | Line | Reason |\n"
message << "| --- | ----- | ----- |\n"

results.each do |r|
filename = r['file'].split('/').last
Expand Down

0 comments on commit 68cd9f2

Please sign in to comment.