diff --git a/RELEASE_NOTES.md b/RELEASE_NOTES.md index 8f1cfdd64f..b20497fa6d 100644 --- a/RELEASE_NOTES.md +++ b/RELEASE_NOTES.md @@ -1,3 +1,6 @@ +#### 3.36.4 - 13.03.2017 +* USABILITY: Remove confusing yellow diagnostics in pack - https://github.com/fsprojects/Paket/issues/2164 + #### 3.36.3 - 13.03.2017 * USABILITY: Support TLS > 1.0 - https://github.com/fsprojects/Paket/issues/2174 diff --git a/src/Paket.Core/ProjectFile.fs b/src/Paket.Core/ProjectFile.fs index 84f958fffd..f21c96772e 100644 --- a/src/Paket.Core/ProjectFile.fs +++ b/src/Paket.Core/ProjectFile.fs @@ -1334,8 +1334,8 @@ module ProjectFile = |> function | [] -> tryNextPlat xs (x::attempted) | s :: _ -> - if String.IsNullOrWhiteSpace buildPlatform then - let tested = String.Join(", ", Array.ofList attempted) + if String.IsNullOrWhiteSpace buildPlatform && attempted <> [] then + let tested = String.Join(", ", attempted) traceWarnfn "No platform specified; found output path node for the %s platform after failing to find one for the following: %s" x tested s.TrimEnd [|'\\'|] |> normalizePath