Force target paths to lowercase to avoid windows related case-path bugs.

master
Zed A. Shaw 1 month ago
parent 42431a756e
commit 4681c6a74d
  1. 3
      processing.go

@ -182,7 +182,8 @@ func RenderImages(config Settings, force bool) error {
} }
if force || HasChanged(path_info, target) { if force || HasChanged(path_info, target) {
JankImage(convert, path, target) // have to lowercase the target path to avoid windows issues
JankImage(convert, path, strings.ToLower(target))
} }
} else { } else {
fmt.Println("SKIP:", path) fmt.Println("SKIP:", path)

Loading…
Cancel
Save