-
Notifications
You must be signed in to change notification settings - Fork 10
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
zettel build fail with error but doesn't show what yaml is invalid #22
Comments
Can you show your |
Sure. zettel.toml was created with zettel init command |
I think this might be because there is invalid yaml in the frontmatter in one of your posts. Can you just post an example of any of your |
I understand that yaml can be wrong. My point is: zettel should inform me what yaml file is invalid? It should show the filename and maybe the line, not just line number. My yaml was created by vim+vim-zettel plugin and looks like: `title: sometitle
|
The tags in the front matter should be a array of strings like |
test$ zettel --verbose build
DEBU[2020-09-21T11:43:14+03:00] verbose logging enabled
INFO[2020-09-21T11:43:14+03:00] Starting zettel...
2020/09/21 11:43:14 reading config: zettel.toml
2020/09/21 11:43:14 error while yaml unmarshal: yaml: line 3: mapping values are not allowed in this context
ERRO[2020-09-21T11:43:14+03:00] OOPS: yaml: line 3: mapping values are not allowed in this context
I'd like to know what exactly yaml file cause this error but zettel doesn't show this information.
The text was updated successfully, but these errors were encountered: