Skip to content
New issue

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

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

Already on GitHub? # to your account

feat: add skip load and save option #124

Closed

Conversation

yoshinorin
Copy link
Member

What is this?

I submitted #123 PR for huge posts.
However sometimes hexo is no need to load from db.json. Also save to db.json.

e.g: Execute hexo g in GitHub Actions.

This PR purpose is to add an option for ignore them.

Copy link
Member

@SukkaW SukkaW left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If we don't need to save db.json, just do it in Hexo. In Hexo there is a hexo.database.load() method and a this.database.save() method. We should add the skip loading and saving there instead.

@yoshinorin
Copy link
Member Author

Thank you :)

@yoshinorin yoshinorin closed this Apr 13, 2022
@yoshinorin yoshinorin deleted the feat/skip-load-save-option branch April 13, 2022 12:30
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants