Skip to content

Conversation

@yoshinorin
Copy link
Member

What does it do?

The current .husky/pre-commit is not working on windows. If we update husky to 9.x, it works.

Please see husky migration guide.

Screenshots

N/A

Pull request tasks

  • Add test cases for the changes.
  • Passed the CI test.
@github-actions
Copy link

How to test

git clone -b chore/deps-update-hasky https://github.com/hexojs/hexo.git
cd hexo
npm install
npm test
@@ -1,4 +1 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"
Copy link
Member Author

Choose a reason for hiding this comment

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

Not working on windows...

@yoshinorin yoshinorin merged commit b3ea558 into master Jan 1, 2025
12 of 14 checks passed
@yoshinorin yoshinorin deleted the chore/deps-update-hasky branch January 1, 2025 01:39
@stevenjoezhang
Copy link
Member

It works like a charm on Windows now!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

4 participants