Hooks configured to run onCreate are run when note is refactored #3785
Labels
scope.workspace
Workspace related functionality (i.e. intellisense, vault, workspace)
type.bug
Something isn't working
Please select the area your bug applies to. (Multiple selections are Possible. You can leave blank if you're not sure.)
Describe the bug
Hooks under
onCreate
indendron.yml
are run when a note is modified by renaming a note that is referenced within the "hooked" noteTo Reproduce
Steps to reproduce the behavior:
hooked.note
test.note
test.note
usingDendron: Rename Note
commandhooked.note
Expected behavior
Hooks configured to run
onCreate
are run only when a note is createdScreenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information)
Additional context
Credits for finding the bug should go to @alatuszam for reporting this bug in a hook gist
Dendron Log file
output of `> Dendron:Dev: Open Logs`
The text was updated successfully, but these errors were encountered: