Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ObsidianNew command doesnt read args #167

Closed
lucidph3nx opened this issue Aug 5, 2023 · 1 comment
Closed

ObsidianNew command doesnt read args #167

lucidph3nx opened this issue Aug 5, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@lucidph3nx
Copy link

🐛 Describe the bug

When running the command :ObsidianNew Example the note_id_func does not receive the 'Example' title, and only ever receives nil.

minimal note_id_func to reproduce:

note_id_func = function(title)
  print(title)
end,

I suspect this bug was caused by the change in #166 as the command.new function now looks for data.args[1] instead of data.args

Versions

Obsidian v1.12.0

@lucidph3nx lucidph3nx added the bug Something isn't working label Aug 5, 2023
@epwalsh
Copy link
Owner

epwalsh commented Aug 6, 2023

Closed via #169.

@epwalsh epwalsh closed this as completed Aug 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants