Skip to content

Commit

Permalink
Use null rather than "NoDescription"
Browse files Browse the repository at this point in the history
  • Loading branch information
BlythMeister committed Jul 2, 2018
1 parent d471144 commit f56588a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/app/Fake.Core.Target/Target.fs
Original file line number Diff line number Diff line change
Expand Up @@ -318,7 +318,7 @@ module Target =
|> Seq.map (fun kv -> kv.Key)
|> Seq.fold (fun context name ->
let target = get name
use t = Trace.traceFinalTarget target.Name (match target.Description with Some d -> d | _ -> "NoDescription") (dependencyString target)
use t = Trace.traceFinalTarget target.Name (match target.Description with Some d -> d | _ -> null) (dependencyString target)
let res = runSimpleContextInternal target context
if res.HasError
then t.MarkFailed()
Expand All @@ -334,7 +334,7 @@ module Target =
|> Seq.map (fun kv -> kv.Key)
|> Seq.fold (fun context name ->
let target = get name
use t = Trace.traceFailureTarget target.Name (match target.Description with Some d -> d | _ -> "NoDescription") (dependencyString target)
use t = Trace.traceFailureTarget target.Name (match target.Description with Some d -> d | _ -> null) (dependencyString target)
let res = runSimpleContextInternal target context
if res.HasError
then t.MarkFailed()
Expand Down

0 comments on commit f56588a

Please sign in to comment.