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

hugo list drafts outputs a warning #5873

Closed
limenet opened this issue Apr 18, 2019 · 1 comment
Closed

hugo list drafts outputs a warning #5873

limenet opened this issue Apr 18, 2019 · 1 comment
Milestone

Comments

@limenet
Copy link

limenet commented Apr 18, 2019

Running hugo list drafts produces:

WARN 2019/04/18 08:35:16 Page's .IsDraft is deprecated and will be removed in a future release. Use .Draft.

This can be reproduced on an empty site generated with https://gohugo.io/getting-started/quick-start/.

I noticed this since our CI (see also #5860) trips over this warning and as far as I can tell by looking at our build logs this issue has been introduced in 0.55.2 (btw, thanks for that quick release!) update: that check only ran on master so this behavior was probably introduced in 0.55.

Let me know if you need anything else!

@bep bep added the Bug label Apr 18, 2019
@bep bep added this to the v0.56 milestone Apr 18, 2019
@bep bep closed this as completed in 3e421bd Apr 18, 2019
@github-actions
Copy link

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 18, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants