This refactors some of the SqlPackage code both for readability as well as for correctness in terms of using pattern matching and (importantly) safely unwrapping options rather than checks of IsSome and then .Value, which caused a bug with Timeout previously.
[x] boy scout rule: "leave the code behind in a better state than you found it" (fix warnings, obsolete members or code-style in the places you worked in)
Description
This refactors some of the SqlPackage code both for readability as well as for correctness in terms of using pattern matching and (importantly) safely unwrapping options rather than checks of
IsSome
and then.Value
, which caused a bug with Timeout previously.