Skip to content

Commit

Permalink
[#29] Keep case of svg/pdf file
Browse files Browse the repository at this point in the history
  • Loading branch information
yax-lakam-tuun committed May 15, 2023
1 parent 1cf7cc6 commit a0824c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ConvertFrom-Svg.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit a0824c0

Please sign in to comment.