diff --git a/src/Cody.Core.Tests/StringExtensionsTests.cs b/src/Cody.Core.Tests/StringExtensionsTests.cs index c3f7ef6..996bd6b 100644 --- a/src/Cody.Core.Tests/StringExtensionsTests.cs +++ b/src/Cody.Core.Tests/StringExtensionsTests.cs @@ -17,6 +17,7 @@ public class StringExtensionsTests [TestCase(@"c:\path\to\file", "file:///c%3A/path/to/file")] [TestCase(@"c:/path/to/file", "file:///c%3A/path/to/file")] [TestCase(@"c:/file.txt", "file:///c%3A/file.txt")] + [TestCase(@"file.txt", "file:///file.txt")] public void Can_Convert_Path_To_Valid_Uri(string path, string expectedPath) { var result = StringExtensions.ToUri(path); diff --git a/src/Cody.VisualStudio/CodyPackage.cs b/src/Cody.VisualStudio/CodyPackage.cs index 1fb6b5a..c175f84 100644 --- a/src/Cody.VisualStudio/CodyPackage.cs +++ b/src/Cody.VisualStudio/CodyPackage.cs @@ -154,8 +154,8 @@ private void ReportSentryVsVersion() { SentrySdk.ConfigureScope(scope => { - scope.SetTag("vs_version", VsVersionService.DisplayVersion); - scope.SetTag("agent_version", VersionService.Agent); + scope.SetTag("vs", VsVersionService.DisplayVersion); + scope.SetTag("agent", VersionService.Agent); SentrySdk.CaptureMessage("Initialized"); }); }