Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions src/Paket.Core/DependencyChangeDetection.fs
Original file line number Diff line number Diff line change
Expand Up @@ -82,8 +82,7 @@ let findNuGetChangesInDependenciesFile(dependenciesFile:DependenciesFile,lockFil
| Some pr ->
let t = t.Value
let t = { t with Settings = lockFile.GetGroup(groupName).Options.Settings + t.Settings }
yield groupName, name, getChanges groupName transitives pr t// then
// yield groupName, name // Modified
yield groupName, name, getChanges groupName transitives pr t // Modified
| _ -> yield groupName, name, [PackageNotFoundInDependenciesFile] // Removed
]
|> List.filter (fun (_,_, changes) -> changes.Length > 0)
Expand Down
4 changes: 2 additions & 2 deletions src/Paket.Core/FrameworkHandling.fs
Original file line number Diff line number Diff line change
Expand Up @@ -365,8 +365,8 @@ module FrameworkDetection =
| "netstandard14" -> Some(DotNetStandard DotNetStandardVersion.V1_4)
| "netstandard15" -> Some(DotNetStandard DotNetStandardVersion.V1_5)
| "netstandard16" -> Some(DotNetStandard DotNetStandardVersion.V1_6)
| "netcore10" | "netcoreapp10" -> Some (DotNetCore DotNetCoreVersion.V1_0)
| "netcore11" | "netcoreapp11" -> Some (DotNetCore DotNetCoreVersion.V1_1)
| "netcore10" -> Some (DotNetCore DotNetCoreVersion.V1_0)
| "netcore11" -> Some (DotNetCore DotNetCoreVersion.V1_1)

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note: This is in fact cleanup as we have the netcoreapp -> netcore alias defined above.

| v when v.StartsWith "netstandard" -> Some(DotNetStandard DotNetStandardVersion.V1_6)
| _ -> None
result)
Expand Down
3 changes: 1 addition & 2 deletions src/Paket.Core/Requirements.fs
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,7 @@ let parseRestrictions failImmediatly (text:string) =
if verbose then
(fun s ->
traceError s
traceVerbose Environment.StackTrace
)
traceVerbose Environment.StackTrace)
else traceError
let text =
// workaround missing spaces
Expand Down