fix secretOutputPath

This commit is contained in:
Kyle Spearrin 2020-06-08 13:02:38 -04:00
parent 0027c21630
commit f4ad1ec8e7

View file

@ -21,9 +21,9 @@ if ([string]::IsNullOrEmpty($output)) {
}
}
if(!(Test-Path -Path $secretPath))
if(!(Test-Path -Path $secretOutputPath))
{
New-Item -ItemType Directory -Path $secretPath
New-Item -ItemType Directory -Path $secretOutputPath
}
gpg --quiet --batch --yes --decrypt --passphrase="$passphrase" --output $output $input