Skip to content

Commit

Permalink
Should fix #7
Browse files Browse the repository at this point in the history
  • Loading branch information
PrzemyslawKlys committed Mar 1, 2022
1 parent 5979055 commit 402484d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Public/Protect-PGP.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
if ($PSBoundParameters.ErrorAction -eq 'Stop') {
throw
} else {
Write-Warning -Message "Protect-PGP - Can't encrypt file $($File.FuleName): $($_.Exception.Message)"
Write-Warning -Message "Protect-PGP - Can't encrypt file $($File.FullName): $($_.Exception.Message)"
return
}
}
Expand All @@ -71,7 +71,7 @@
if ($PSBoundParameters.ErrorAction -eq 'Stop') {
throw
} else {
Write-Warning -Message "Protect-PGP - Can't encrypt file $($File.FuleName): $($_.Exception.Message)"
Write-Warning -Message "Protect-PGP - Can't encrypt file $($FilePath): $($_.Exception.Message)"
return
}
}
Expand Down
4 changes: 2 additions & 2 deletions Public/Unprotect-PGP.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@
if ($PSBoundParameters.ErrorAction -eq 'Stop') {
throw
} else {
Write-Warning -Message "Unprotect-PGP - Remove PGP encryption from $($File.FuleName) failed: $($_.Exception.Message)"
Write-Warning -Message "Unprotect-PGP - Remove PGP encryption from $($File.FullName) failed: $($_.Exception.Message)"
return
}
}
Expand All @@ -96,7 +96,7 @@
if ($PSBoundParameters.ErrorAction -eq 'Stop') {
throw
} else {
Write-Warning -Message "Unprotect-PGP - Remove PGP encryption from $($File.FuleName) failed: $($_.Exception.Message)"
Write-Warning -Message "Unprotect-PGP - Remove PGP encryption from $($FilePath) failed: $($_.Exception.Message)"
return
}
}
Expand Down

0 comments on commit 402484d

Please sign in to comment.