Skip to content

Commit

Permalink
Removed an unneeded Test-Path.
Browse files Browse the repository at this point in the history
  • Loading branch information
trparky committed Dec 25, 2023
1 parent d4d2538 commit 71b892a
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions bw_export.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -251,14 +251,6 @@ try {
Write-Host "Performing vault exports..."
Write-Host ""

# 1. Export the personal vault
if (!(Test-Path $saveFolder)) {
LockAndLogout
Write-Host -ForegroundColor Red "ERROR:" -NoNewLine
Write-Host " Could not find the folder in which to save the files."
exit 1
}

if (!$encryptedDataBackup) {
Write-Host "Exporting personal vault to an unencrypted file..."
./bw export --format json --output $saveFolder
Expand Down

0 comments on commit 71b892a

Please sign in to comment.