local folder workspace
This commit is contained in:
@@ -6,8 +6,10 @@ public class UpdateInfos
|
||||
{
|
||||
public List<UpdateInfo> Updates { get; private set; } = [];
|
||||
|
||||
public static UpdateInfos Parse(string content)
|
||||
public static UpdateInfos? Parse(string? content)
|
||||
{
|
||||
if (string.IsNullOrWhiteSpace(content))
|
||||
return null;
|
||||
return JsonConvert.DeserializeObject<UpdateInfos>(content);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user