C#: Upgrade nuget packages

This commit is contained in:
Tamas Vajk
2021-03-12 12:51:00 +01:00
parent fbbec5d2b9
commit 78843882f9
4 changed files with 5 additions and 5 deletions

View File

@@ -145,7 +145,7 @@ namespace Semmle.Autobuild.CSharp
try
{
var o = JObject.Parse(File.ReadAllText(path));
version = (string)o["sdk"]["version"];
version = (string)(o?["sdk"]?["version"]!);
}
catch // lgtm[cs/catch-of-all-exceptions]
{