mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-03-06 10:16:18 +00:00
Remove unneeded awaits
This commit is contained in:
parent
ef0b277d2a
commit
4068047845
@@ -44,7 +44,6 @@ namespace MediaBrowser.TV.Providers
|
||||
// Need to validate it the slow way
|
||||
if (!File.Exists(metadataFile))
|
||||
{
|
||||
await Task.FromResult<object>(null).ConfigureAwait(false);
|
||||
return;
|
||||
}
|
||||
}
|
||||
@@ -52,7 +51,6 @@ namespace MediaBrowser.TV.Providers
|
||||
{
|
||||
if (!season.ContainsMetadataFile(metadataFile))
|
||||
{
|
||||
await Task.FromResult<object>(null).ConfigureAwait(false);
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user