chhoumann / quickadd

QuickAdd for Obsidian
https://quickadd.obsidian.guide
MIT License
1.48k stars 135 forks source link

[BUG] Can't overwrite existing file if the case is mismatched #599

Open rokn opened 9 months ago

rokn commented 9 months ago

Describe the bug When using a template choice if the file already exists but has a different case from what the template is trying to create it fails

To Reproduce Steps to reproduce the behavior:

  1. Create file "Bug report"
  2. Create Template Choice which writes to a file "Bug Report"
  3. Set default behaviour to overwrite the file
  4. Execute choice
  5. See error

Expected behavior I'd expect the file to be overwritten or a new file to be created

Desktop (please complete the following information):