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

chore: make callback on exit optional #5421

Merged
merged 1 commit into from
Feb 20, 2024

Conversation

dimaslanjaka
Copy link
Contributor

@dimaslanjaka dimaslanjaka commented Feb 16, 2024

What does it do?

based on https://hexo.io/api/index.html#Exit method hexo.exit() is not always has callback function, make it optional for better typing with typescript

Screenshots

image

Pull request tasks

  • Add test cases for the changes.
  • Passed the CI test.

Copy link

How to test

git clone -b hexo-exit-fix https://github.com/dimaslanjaka/hexo.git
cd hexo
npm install
npm test

@dimaslanjaka
Copy link
Contributor Author

@SukkaW review pls

@uiolee uiolee merged commit 6bf9e6c into hexojs:master Feb 20, 2024
22 of 23 checks passed
@dimaslanjaka dimaslanjaka deleted the hexo-exit-fix branch October 3, 2024 08:03
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.

3 participants