Skip to content

Commit aecbbd9

Browse files
🩹 [Patch]: Update examples in Set-MaskedValue function to use placeholder tokens
1 parent 39d61fe commit aecbbd9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎scripts/Helpers.psm1‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
If no match is found, the original value is returned unaltered.
1313
1414
.EXAMPLE
15-
Set-MaskedValue -Value 'github_pat_1234567890123456789012'
15+
Set-MaskedValue -Value '<a token starting with github_pat_>'
1616
1717
Output:
1818
```powershell
@@ -22,7 +22,7 @@
2222
Masks a GitHub fine-grained personal access token.
2323
2424
.EXAMPLE
25-
Set-MaskedValue -Value 'ghp_abcdefghijklmnopqrstuvwxyz0123456789' #gitleaks:allow
25+
Set-MaskedValue -Value '<a token starting with ghp_>'
2626
2727
Output:
2828
```powershell

0 commit comments

Comments
 (0)