mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-11-12 17:17:00 +00:00
Apply suggestions from code review for flipped conditions.
Co-Authored-By: EraYaN <EraYaN@users.noreply.github.com>
This commit is contained in:
1 parent
838541b825
commit
91e99effc9
3 files changed
+3
-3
No files matched your search
@@ -214,7 +214,7 @@ namespace MediaBrowser.MediaEncoding.Encoder
|
||||
throw new ArgumentNullException(nameof(path));
|
||||
}
|
||||
|
||||
if (!File.Exists(path) && Directory.Exists(path))
|
||||
if (!File.Exists(path) && !Directory.Exists(path))
|
||||
{
|
||||
throw new ResourceNotFoundException();
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user