mirror of
https://github.com/benclaussen/NetboxPS.git
synced 2025-12-15 02:35:46 +00:00
Merge pull request #35 from alagoutte/fix-pssa
Clear-NetboxCredential: Fix PSSA (trailing whitespace)
This commit is contained in:
commit
cb4e2f2f57
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