mirror of
https://github.com/benclaussen/NetboxPS.git
synced 2025-12-15 02:35:46 +00:00
Clear-NetboxCredential: Fix PSSA (trailing whitespace)
This commit is contained in:
parent
9dd6bc2b0e
commit
e29299022e
2 changed files with 3 additions and 3 deletions
|
|
@ -4,8 +4,8 @@
|
||||||
(
|
(
|
||||||
[switch]$Force
|
[switch]$Force
|
||||||
)
|
)
|
||||||
|
|
||||||
if ($Force -or ($PSCmdlet.ShouldProcess('Netbox Credentials', 'Clear'))) {
|
if ($Force -or ($PSCmdlet.ShouldProcess('Netbox Credentials', 'Clear'))) {
|
||||||
$script:NetboxConfig.Credential = $null
|
$script:NetboxConfig.Credential = $null
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -438,7 +438,7 @@ function Clear-NetboxCredential {
|
||||||
(
|
(
|
||||||
[switch]$Force
|
[switch]$Force
|
||||||
)
|
)
|
||||||
|
|
||||||
if ($Force -or ($PSCmdlet.ShouldProcess('Netbox Credentials', 'Clear'))) {
|
if ($Force -or ($PSCmdlet.ShouldProcess('Netbox Credentials', 'Clear'))) {
|
||||||
$script:NetboxConfig.Credential = $null
|
$script:NetboxConfig.Credential = $null
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue