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

Deprecated lines in Husky pre-commit script #13395

Closed
ErlingHauan opened this issue Aug 20, 2024 · 0 comments · Fixed by #13396
Closed

Deprecated lines in Husky pre-commit script #13395

ErlingHauan opened this issue Aug 20, 2024 · 0 comments · Fixed by #13396

Comments

@ErlingHauan
Copy link
Contributor

ErlingHauan commented Aug 20, 2024

Description

When running git commit we get the following warning:

husky - DEPRECATED

Please remove the following two lines from .husky/pre-commit:

#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"

They WILL FAIL in v10.0.0

Additional Information

It should be enough to simply remove the two lines.
See "How to migrate" section at the bottom of this page: https://github.com/typicode/husky/releases/tag/v9.0.1

@ErlingHauan ErlingHauan added status/draft Status: When you create an issue before you have enough info to properly describe the issue. kind/chore labels Aug 20, 2024
@ErlingHauan ErlingHauan moved this to 👷 In Progress in Team Studio Aug 20, 2024
@ErlingHauan ErlingHauan self-assigned this Aug 20, 2024
@ErlingHauan ErlingHauan added added-to-sprint and removed status/draft Status: When you create an issue before you have enough info to properly describe the issue. labels Aug 20, 2024
@ErlingHauan ErlingHauan linked a pull request Aug 20, 2024 that will close this issue
2 tasks
@ErlingHauan ErlingHauan moved this from 👷 In Progress to 🔎 Review in Team Studio Aug 20, 2024
@ErlingHauan ErlingHauan removed their assignment Aug 20, 2024
@TomasEng TomasEng assigned TomasEng and ErlingHauan and unassigned TomasEng Aug 21, 2024
@ErlingHauan ErlingHauan removed their assignment Aug 21, 2024
@ErlingHauan ErlingHauan moved this from 🔎 Review to 🧪 Test in Team Studio Aug 21, 2024
@Jondyr Jondyr assigned Jondyr and ErlingHauan and unassigned Jondyr Aug 22, 2024
@github-project-automation github-project-automation bot moved this from 🧪 Test to ✅ Done in Team Studio Aug 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

3 participants