mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-10 05:06:36 +02:00
add nonnull check
This commit is contained in:
@@ -55,7 +55,7 @@ namespace Wox.Infrastructure.Storage
|
|||||||
{
|
{
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
_data = JsonConvert.DeserializeObject<T>(searlized, _serializerSettings);
|
_data = JsonConvert.DeserializeObject<T>(searlized, _serializerSettings).NonNull();
|
||||||
}
|
}
|
||||||
catch (JsonSerializationException e)
|
catch (JsonSerializationException e)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user