Steps to reproduce:
- launch
notewrapper
- select a vault
- select "Create a new note"
- Type a name that doesn't end with
.md and that matches journalRegex
- Select "unified journal"
- The program crashes
Note: the files is still created (with a .md added)
What I think happens:
- the program sanitize the file name by adding
.md
- the program creates the file
- the program returns the file path (or name) without
.md
- so the wrong file is open
[program ERROR -- 21:37:44] From file src/notes.c line 313 function updateJournal:
(System-level error message: No such file or directory)
/home/tomasr/test//test/journal is not a file and not a directory.
Steps to reproduce:
notewrapper.mdand that matchesjournalRegexNote: the files is still created (with a
.mdadded)What I think happens:
.md.md