Skip to content

Commit

Permalink
Merge pull request #1530 from Stift/ImproveWarningMessageOnConflicts
Browse files Browse the repository at this point in the history
Improve warning text on conflict
  • Loading branch information
forki committed Mar 19, 2016
2 parents 816493a + fe03c28 commit bfe9aa9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Paket.Core/PackageResolver.fs
Original file line number Diff line number Diff line change
Expand Up @@ -126,9 +126,9 @@ type Resolution =

match x.Parent with
| DependenciesFile _ ->
sprintf " - Dependencies file requested: %s%s" vr pr |> addToError
sprintf " - Dependencies file requested package %O: %s%s" r.Name vr pr |> addToError
| Package(parentName,version,_) ->
sprintf " - %O %O requested: %s%s" parentName version vr pr |> addToError)
sprintf " - %O %O requested package %O: %s%s" parentName version r.Name vr pr |> addToError)

match this.GetConflicts() with
| [] -> addToError <| sprintf " Could not resolve package %O. Unknown resolution error." (Seq.head stillOpen)
Expand Down

0 comments on commit bfe9aa9

Please sign in to comment.