EvotecIT / PSWritePDF

PowerShell Module to create, edit, split, merge PDF files on Windows / Linux and MacOS
GNU Affero General Public License v3.0
197 stars 21 forks source link

Get-PDFNamedPageSize has typo on line 66 causing Error: A null key is not allowed in a hash literal. #50

Closed BrooksV closed 5 months ago

BrooksV commented 7 months ago

Line 66 return [PSCustomObject] @{ PageSize = 'Unknown'; $Rotated = $null } $Rotated needs to be Rotated as it's not a variable but a property name return [PSCustomObject] @{ PageSize = 'Unknown'; Rotated = $null }

PrzemyslawKlys commented 7 months ago

Care to create PR?