Skip to content

Commit

Permalink
feat: Refactor parser exception
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Nov 30, 2024
1 parent 07637ea commit d9b96d9
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/cd_release_please.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: "Release Please"
name: "CD: Release and Publish"

on:
workflow_dispatch:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci_unit_tests.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Unit Tests
name: "CI: Unit Tests"

on:
pull_request:
Expand Down
2 changes: 2 additions & 0 deletions AzureLiquid.Preview/PreviewProcess.cs
Original file line number Diff line number Diff line change
Expand Up @@ -364,6 +364,8 @@ public string Render()
WriteErrorLine($"Error: {e.Message}");
return string.Empty;
}

// TODO: Refactor this method

Check warning on line 368 in AzureLiquid.Preview/PreviewProcess.cs

View workflow job for this annotation

GitHub Actions / Unit Tests / Build and Test

Complete the task associated to this 'TODO' comment. (https://rules.sonarsource.com/csharp/RSPEC-1135)

Check warning on line 368 in AzureLiquid.Preview/PreviewProcess.cs

View workflow job for this annotation

GitHub Actions / Unit Tests / Build and Test

Complete the task associated to this 'TODO' comment. (https://rules.sonarsource.com/csharp/RSPEC-1135)

Check warning on line 368 in AzureLiquid.Preview/PreviewProcess.cs

View workflow job for this annotation

GitHub Actions / Unit Tests / Build and Test

Complete the task associated to this 'TODO' comment. (https://rules.sonarsource.com/csharp/RSPEC-1135)

Check warning on line 368 in AzureLiquid.Preview/PreviewProcess.cs

View workflow job for this annotation

GitHub Actions / Analyze (csharp)

Complete the task associated to this 'TODO' comment. (https://rules.sonarsource.com/csharp/RSPEC-1135)

Check warning on line 368 in AzureLiquid.Preview/PreviewProcess.cs

View workflow job for this annotation

GitHub Actions / Analyze (csharp)

Complete the task associated to this 'TODO' comment. (https://rules.sonarsource.com/csharp/RSPEC-1135)

Check warning on line 368 in AzureLiquid.Preview/PreviewProcess.cs

View workflow job for this annotation

GitHub Actions / Unit Tests / Build and Test

Complete the task associated to this 'TODO' comment. (https://rules.sonarsource.com/csharp/RSPEC-1135)

Check warning on line 368 in AzureLiquid.Preview/PreviewProcess.cs

View workflow job for this annotation

GitHub Actions / Unit Tests / Build and Test

Complete the task associated to this 'TODO' comment. (https://rules.sonarsource.com/csharp/RSPEC-1135)

Check warning on line 368 in AzureLiquid.Preview/PreviewProcess.cs

View workflow job for this annotation

GitHub Actions / Unit Tests / Build and Test

Complete the task associated to this 'TODO' comment. (https://rules.sonarsource.com/csharp/RSPEC-1135)
}

/// <summary>
Expand Down
2 changes: 2 additions & 0 deletions AzureLiquid/Exceptions/LiquidParserException.cs
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ public LiquidParserException()
/// <param name="message">The message that describes the error.</param>
public LiquidParserException(string message) : base(message)
{
// Pass to base class
}

/// <summary>
Expand All @@ -38,6 +39,7 @@ public LiquidParserException(string message) : base(message)
public LiquidParserException(string message, Exception innerException)
: base(message, innerException)
{
// Pass to base class
}
}
}

0 comments on commit d9b96d9

Please sign in to comment.