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

Fix bug that zk--id-list does not return list if there is only one file in zk-directory. #82

Merged
merged 3 commits into from
Dec 5, 2024

Conversation

cranej
Copy link
Contributor

@cranej cranej commented Dec 5, 2024

If there is only one file under zk-directory, create new note via zk-new-note complains: zk--insert-link-and-title: Wrong type argument: listp, "202412042100" .

The cause is zk--id-list does not return a list but rather a string if there is only one file under zk-directory.

This change fixed it.

@localauthor localauthor merged commit 73f3b7d into localauthor:main Dec 5, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants