Execute system commands via hotkeys or command palette in Obsidian (https://obsidian.md). Some automated events are also supported, and execution via URI links.
GNU General Public License v3.0
348
stars
11
forks
source link
Bug: An empty argument in {{yaml_value}}/{{event_yaml_value}} causes a crash. #181
{{yaml_value:}}
/{{event_yaml_value:}}
crashesNote that the crash happens after typing
![kuva](https://user-images.githubusercontent.com/13002142/158026753-18f26dd0-a9b8-46b5-acb7-0bff7e83f3f7.png)
:
, not when no colon is present.Commit 964678fb6ce7064faa3207107f036db8e507705a moved the YAML value reader logic into a new function, but it didn't change the following line of code, which causes a crash: https://github.com/Taitava/obsidian-shellcommands/blob/964678fb6ce7064faa3207107f036db8e507705a/src/variables/VariableHelpers.ts#L89
this.arguments.property_name
should beproperty_path
.TODO:
{{yaml_value}}
/{{event_yaml_value}}
pages.