Skip to content

Commit

Permalink
Remove confusing yellow diagnostics in pack - fixes #2164
Browse files Browse the repository at this point in the history
  • Loading branch information
forki committed Mar 13, 2017
1 parent c711360 commit da1a643
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions RELEASE_NOTES.md
Original file line number Diff line number Diff line change
@@ -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

Expand Down
4 changes: 2 additions & 2 deletions src/Paket.Core/ProjectFile.fs
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit da1a643

Please sign in to comment.