Skip to content

Commit 1511937

Browse files
Potential fix for pull request finding 'Call to 'System.IO.Path.Combine' may silently drop its earlier arguments'
Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com> Signed-off-by: Imran Siddique <imran.siddique@microsoft.com>
1 parent a49ce6c commit 1511937

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • agent-governance-dotnet/examples/AspNetMiddleware

agent-governance-dotnet/examples/AspNetMiddleware/Program.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
// The kernel is thread-safe and meant to be reused for the lifetime
1515
// of the process. It owns the policy engine, audit emitter, rate limiter,
1616
// and any optional defenses you opt into.
17-
var policyPath = Path.Combine(AppContext.BaseDirectory, "policies", "aspnet.yaml");
17+
var policyPath = Path.Join(AppContext.BaseDirectory, "policies", "aspnet.yaml");
1818

1919
builder.Services.AddSingleton(_ => new GovernanceKernel(new GovernanceOptions
2020
{

0 commit comments

Comments
 (0)