Skip to content

Commit

Permalink
ci: Fixed formatting issue.
Browse files Browse the repository at this point in the history
  • Loading branch information
carldebilly committed Jan 30, 2025
1 parent 00236eb commit 4d9d40e
Showing 1 changed file with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6049,11 +6049,9 @@ private void BuildChild(IIndentedStringBuilder writer, XamlMemberDefinition? own

if (contentOwner != null || _isHotReloadEnabled) // If Hot Reload is enabled, we still need to attach the source location, even on empty elements
{
var resourceOwner = CurrentResourceOwnerName;


if(contentOwner is { })
if(contentOwner != null)

Check failure on line 6052 in src/SourceGenerators/Uno.UI.SourceGenerators/XamlGenerator/XamlFileGenerator.cs

View workflow job for this annotation

GitHub Actions / Analyze (csharp)

Fix formatting (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0055)

Check failure on line 6052 in src/SourceGenerators/Uno.UI.SourceGenerators/XamlGenerator/XamlFileGenerator.cs

View workflow job for this annotation

GitHub Actions / Analyze (csharp)

Fix formatting (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0055)
{
var resourceOwner = CurrentResourceOwnerName;
#if USE_NEW_TP_CODEGEN
writer.Append($"{resourceOwner}, (__owner, __settings) => ");
#else
Expand Down

0 comments on commit 4d9d40e

Please sign in to comment.