Skip to content

Commit

Permalink
Fix especaping escapes in team city reporter
Browse files Browse the repository at this point in the history
  • Loading branch information
lefthandedgoat committed Aug 14, 2014
1 parent 576e595 commit 2600b0b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/canopy/reporters.fs
Original file line number Diff line number Diff line change
Expand Up @@ -101,10 +101,10 @@ type TeamCityReporter() =
let tcFriendlyMessage (message : string) =
let message = message.Replace("|", "||")
let message = message.Replace("'", "|'")
let message = message.Replace(@"\n", "|n")
let message = message.Replace(@"\r", "|r")
let message = message.Replace("\n", "|n")
let message = message.Replace("\r", "|r")
let message = message.Replace(System.Environment.NewLine, "|r|n")
let message = message.Replace(@"\u", "|u")
let message = message.Replace("\u", "|u")
let message = message.Replace("[", "|[")
let message = message.Replace("]", "|]")
message
Expand Down

0 comments on commit 2600b0b

Please sign in to comment.