Skip to content

Commit

Permalink
fix smoke tests
Browse files Browse the repository at this point in the history
  • Loading branch information
anna-git committed Sep 18, 2024
1 parent a985d28 commit f628ac7
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Hosting;
using System;
using System.IO;
using System.Net.Http;
using System.Reflection;
using System.Runtime.InteropServices;
Expand Down Expand Up @@ -102,7 +103,7 @@ public static bool IsProfilerAttached()

public static string GetTracerAssemblyLocation()
{
return NativeMethodsType?.Assembly.Location ?? "(none)";
return Path.GetFileName(NativeMethodsType?.Assembly.Location) ?? "(none)";
}
}
}

0 comments on commit f628ac7

Please sign in to comment.