File tree 1 file changed +3
-2
lines changed
1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -577,7 +577,7 @@ let pack (results : ParseResults<_>) =
577
577
|> legacyBool results ( ReplaceArgument( " --symbols" , " symbols" ))
578
578
let includeReferencedProjects =
579
579
( results.Contains PackArgs.Include_ Referenced_ Projects,
580
- results.Contains PackArgs.Include_ Referenced_ Projects_ Legacy)
580
+ results.Contains PackArgs.Include_ Referenced_ Projects_ Legacy)
581
581
|> legacyBool results ( ReplaceArgument( " --include-referenced-projects" , " Include_Referenced_Projects" ))
582
582
let projectUrl =
583
583
( results.TryGetResult PackArgs.Project_ Url,
@@ -681,7 +681,8 @@ let fixNuspecs silent (results : ParseResults<_>) =
681
681
|> List.collect ( fun s -> s.Split([| ';' |], StringSplitOptions.RemoveEmptyEntries) |> Array.toList)
682
682
|> List.map ( fun s -> s.Trim())
683
683
let conditions =
684
- results.GetResult FixNuspecsArgs.Conditions
684
+ results.TryGetResult FixNuspecsArgs.Conditions
685
+ |> Option.defaultValue []
685
686
|> List.collect ( fun s -> s.Split([| ';' |], StringSplitOptions.RemoveEmptyEntries) |> Array.toList)
686
687
|> List.map ( fun s -> s.Trim())
687
688
You can’t perform that action at this time.
0 commit comments