Skip to content

chore: make callback on exit optional#5421

Merged
uiolee merged 1 commit intohexojs:masterfrom
dimaslanjaka:hexo-exit-fix
Feb 20, 2024
Merged

chore: make callback on exit optional#5421
uiolee merged 1 commit intohexojs:masterfrom
dimaslanjaka:hexo-exit-fix

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.

@github-actions
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
@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