Skip to content

Commit

Permalink
Revise logic to properly check if path is empty
Browse files Browse the repository at this point in the history
  • Loading branch information
ShrineFox committed Aug 21, 2024
1 parent 472711c commit 357de2f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion PersonaVCE.cs
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ private void SetupLogging()

private void Encode(string[] inputFiles, string outFormat = "")
{
if (inputFiles.Length == 0 && !string.IsNullOrEmpty(inputFiles[0]))
if (inputFiles.Length == 0 || string.IsNullOrEmpty(inputFiles[0]))
return;

new Thread(() =>
Expand Down

0 comments on commit 357de2f

Please sign in to comment.