Skip to content

Commit d9a829d

Browse files
vaindclaude
andauthored
fix(powershell): use correct boolean syntax in documentation (#14928)
## Summary - Fix PowerShell boolean syntax in documentation examples - Change `true` to `$true` in SendDefaultPii configuration examples ## Problem The documentation was showing incorrect PowerShell syntax using `true` instead of `$true`. In PowerShell, boolean values must be prefixed with `$`. ## Changes - Updated `platform-includes/configuration/config-intro/powershell.mdx` - Updated `platform-includes/getting-started-config/powershell.mdx` Fixes getsentry/sentry-powershell#90 🤖 Generated with [Claude Code](https://claude.ai/code) Co-authored-by: Claude <[email protected]>
1 parent 30a4f71 commit d9a829d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

platform-includes/configuration/config-intro/powershell.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,6 @@ Start-Sentry {
2323
$_.TracesSampleRate = 0.1
2424
2525
# If you'd like to include data that potentially includes PII, such as Machine Name
26-
$_.SendDefaultPii = true
26+
$_.SendDefaultPii = $true
2727
}
2828
```

platform-includes/getting-started-config/powershell.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,6 @@ Start-Sentry {
1010
$_.Dsn = '___PUBLIC_DSN___'
1111
1212
# If you'd like to include data that potentially includes PII, such as Machine Name
13-
$_.SendDefaultPii = true
13+
$_.SendDefaultPii = $true
1414
}
1515
```

0 commit comments

Comments
 (0)