Skip to content

Commit 746ac5e

Browse files
authored
change sdk name sentry.dotnet.powershell (#42)
1 parent ba14c3c commit 746ac5e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

modules/Sentry/private/ScopeIntegration.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ class ScopeIntegration : Sentry.Integrations.ISdkIntegration
55
$hub.ConfigureScope([System.Action[Sentry.Scope]] {
66
param([Sentry.Scope]$scope)
77

8-
$scope.Sdk.Name = 'sentry.powershell'
8+
$scope.Sdk.Name = 'sentry.dotnet.powershell'
99
$scope.Sdk.Version = $moduleInfo.ModuleVersion
1010
$scope.Sdk.AddPackage("ps:$($scope.Sdk.Name)", $scope.Sdk.Version)
1111

tests/packages.tests.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ Describe 'Out-Sentry for <_>' -ForEach @('message', 'error') {
3737
}
3838

3939
It 'Sets SDK info' {
40-
$event.Sdk.Name | Should -Be 'sentry.powershell'
40+
$event.Sdk.Name | Should -Be 'sentry.dotnet.powershell'
4141
$event.Sdk.Version | Should -Match $versionRegex
4242
}
4343

0 commit comments

Comments
 (0)