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

empty nodes create a weird error message from the LSP #385

Open
McJones opened this issue Apr 12, 2024 · 0 comments
Open

empty nodes create a weird error message from the LSP #385

McJones opened this issue Apr 12, 2024 · 0 comments
Labels

Comments

@McJones
Copy link
Collaborator

McJones commented Apr 12, 2024

If you make an node with an empty title the LSP returns a gibberish error message that doesn't help track down the issue.
So if you have the following Yarn:

title: 
---
// can put anything you want in here
===

The LSP will respond with: Error: name must not be falsy which isn't super helpful.

@McJones McJones added the bug label Apr 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant