Skip to content

Commit

Permalink
fix: fixed if condition
Browse files Browse the repository at this point in the history
  • Loading branch information
pictos committed Sep 11, 2023
1 parent a9fe367 commit b2f273d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Resizetizer/src/GenerateWasmSplashAssets.cs
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ public override bool Execute()
System.Diagnostics.Debugger.Launch();

#endif
if (UnoSplashScreen is { Length: 0 })
if (UnoSplashScreen is null || UnoSplashScreen.Length is 0 )
{
Log.LogWarning("Didn't find UnoSplashScreen.");
return true;
Expand Down

0 comments on commit b2f273d

Please sign in to comment.