Skip to content

Commit

Permalink
Fixed naming of the forcelogout switch. Updated the script to version…
Browse files Browse the repository at this point in the history
… 1.43.
  • Loading branch information
trparky committed Jul 2, 2024
1 parent ea17eba commit d006902
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Export-Bitwarden.psm1
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
function Export-Bitwarden { # Don't touch this line!
param (
[switch]$forcebwcliupdate,
[switch]$forcelogpout
[switch]$forcelogout
)

# This tells the script if it should automatically check for an update of the Bitwarden CLI executable that's actually responsible for backing up your Bitwarden vault.
Expand All @@ -32,7 +32,7 @@ function Export-Bitwarden { # Don't touch this line!
# == WARNING!!! DO NOT TOUCH ANYTHING BELOW THIS!!! ==
# ====================================================

$ver = "1.42"
$ver = "1.43"

Write-Host -ForegroundColor Green "========================================================================================"
Write-Host -ForegroundColor Green "== Bitwarden Vault Export Script v$ver =="
Expand Down Expand Up @@ -195,7 +195,7 @@ function Export-Bitwarden { # Don't touch this line!
Write-Host ""
}

if ($forcelogpout) {
if ($forcelogout) {
LockAndLogout
Write-Host "Exiting script."
$env:BW_SESSION = ""
Expand Down

0 comments on commit d006902

Please sign in to comment.