Skip to content

Commit

Permalink
change sdk name sentry.dotnet.powershell (#42)
Browse files Browse the repository at this point in the history
  • Loading branch information
bruno-garcia authored Apr 10, 2024
1 parent ba14c3c commit 746ac5e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion modules/Sentry/private/ScopeIntegration.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ class ScopeIntegration : Sentry.Integrations.ISdkIntegration
$hub.ConfigureScope([System.Action[Sentry.Scope]] {
param([Sentry.Scope]$scope)

$scope.Sdk.Name = 'sentry.powershell'
$scope.Sdk.Name = 'sentry.dotnet.powershell'
$scope.Sdk.Version = $moduleInfo.ModuleVersion
$scope.Sdk.AddPackage("ps:$($scope.Sdk.Name)", $scope.Sdk.Version)

Expand Down
2 changes: 1 addition & 1 deletion tests/packages.tests.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ Describe 'Out-Sentry for <_>' -ForEach @('message', 'error') {
}

It 'Sets SDK info' {
$event.Sdk.Name | Should -Be 'sentry.powershell'
$event.Sdk.Name | Should -Be 'sentry.dotnet.powershell'
$event.Sdk.Version | Should -Match $versionRegex
}

Expand Down

0 comments on commit 746ac5e

Please sign in to comment.