Skip to content

Commit fb77f16

Browse files
committed
Uses spaces instead of tabs.
1 parent c4973cc commit fb77f16

File tree

1 file changed

+21
-21
lines changed

1 file changed

+21
-21
lines changed

RuleDocumentation/AvoidUsingPlainTextForPassword.md

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -30,32 +30,32 @@ Wrong:
3030
$Passphrases,
3131
$Passwordparam
3232
)
33-
...
33+
...
3434
}
3535
```
3636

3737
Correct:
3838

3939
```
40-
function Test-Script
41-
{
42-
[CmdletBinding()]
43-
[Alias()]
44-
[OutputType([Int])]
45-
Param
46-
(
47-
[SecureString]
48-
$Password,
49-
[System.Security.SecureString]
50-
$Pass,
51-
[SecureString[]]
52-
$Passwords,
53-
[SecureString]
54-
$Passphrases,
55-
[SecureString]
56-
$PasswordParam
57-
)
58-
...
59-
}
40+
function Test-Script
41+
{
42+
[CmdletBinding()]
43+
[Alias()]
44+
[OutputType([Int])]
45+
Param
46+
(
47+
[SecureString]
48+
$Password,
49+
[System.Security.SecureString]
50+
$Pass,
51+
[SecureString[]]
52+
$Passwords,
53+
[SecureString]
54+
$Passphrases,
55+
[SecureString]
56+
$PasswordParam
57+
)
58+
...
59+
}
6060
6161
```

0 commit comments

Comments
 (0)