Skip to content

Commit

Permalink
Fixing issues with syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
BlythMeister committed Jul 2, 2018
1 parent 467d142 commit 81045a7
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/app/Fake.Core.Trace/TraceListener.fs
Original file line number Diff line number Diff line change
Expand Up @@ -253,13 +253,13 @@ type ConsoleTraceListener(importantMessagesToStdErr, colorMap, ansiColor) =
| TraceData.OpenTag(KnownTags.Target _ as tag, description)
| TraceData.OpenTag(KnownTags.FailureTarget _ as tag, description)
| TraceData.OpenTag(KnownTags.FinalTarget _ as tag, description) ->
let color2 = colorMap TraceData.TraceMessage("", true)
let color2 = colorMap (TraceData.TraceMessage("", true))
match description with
| Some d -> write false color2 true (sprintf "Starting %s '%s': %s" tag.Type tag.Name data)
| Some d -> write false color2 true (sprintf "Starting %s '%s': %s" tag.Type tag.Name d)
| _ -> write false color2 true (sprintf "Starting %s '%s'" tag.Type tag.Name)
| TraceData.OpenTag (tag, descr) ->
match descr with
| Some d -> write false color true (sprintf "Starting %s '%s': %s" tag.Type tag.Name data)
| TraceData.OpenTag (tag, description) ->
match description with
| Some d -> write false color true (sprintf "Starting %s '%s': %s" tag.Type tag.Name d)
| _ -> write false color true (sprintf "Starting %s '%s'" tag.Type tag.Name)
| TraceData.CloseTag (tag, time, status) ->
write false color true (sprintf "Finished (%A) '%s' in %O" status tag.Name time)
Expand Down

0 comments on commit 81045a7

Please sign in to comment.