diff --git a/ConvertFrom-Svg.ps1 b/ConvertFrom-Svg.ps1 index 30a8b61..595c43b 100644 --- a/ConvertFrom-Svg.ps1 +++ b/ConvertFrom-Svg.ps1 @@ -50,7 +50,7 @@ if ($SvgFiles.Length -eq -0) { } foreach ($Svg in $SvgFiles) { - $Pdf = $Svg.ToLower().Replace('.svg', '.pdf') + $Pdf = $Svg.Replace('.svg', '.pdf').Replace('.SVG', '.pdf') # inkscape's exit codes are not reliable so we print everything always # (see https://gitlab.com/inkscape/inkscape/-/issues/270)