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: fix husky deprecated warning #385

Merged
merged 2 commits into from
Nov 11, 2024
Merged

Conversation

Gaulepal
Copy link
Contributor

@Gaulepal Gaulepal commented Nov 9, 2024

What does this do?

After the pnpm install, got the following warnings while committing the changes.

husky-warning

Why did you do this?

It seems that after the release of version 9.0.1 (https://github.com/typicode/husky/releases/tag/v9.0.1) indicate those two lines were deprecated and need to be removed.

  • see the How to Migrate section in the release notes.

Who/what does this impact?

Does not have significant impact but definitely improve the DX.

How did you test this?

You need to clone the project and

  • pnpm i
  • make some changes in the codebase
  • commit the changes
  • warning will appear in the terminal as shown in the attachment

Copy link

netlify bot commented Nov 9, 2024

Deploy Preview for obytes-starter ready!

Name Link
🔨 Latest commit e118eb5
🔍 Latest deploy log https://app.netlify.com/sites/obytes-starter/deploys/6731ed96cc84f20008a5846f
😎 Deploy Preview https://deploy-preview-385--obytes-starter.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@@ -1,5 +1,4 @@
#!/bin/sh
Copy link
Member

Choose a reason for hiding this comment

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

@Gaulepal this line should be deleted too , right?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

hello @yjose I have no idea how does it work on Windows machine (macOS user). Repo seems to have common.sh inside the .husky directory. Please see the associated file. I leave you or other experts to change accordingly. Thanks

@yjose yjose self-requested a review November 11, 2024 11:17
@yjose yjose merged commit 17db9cd into obytes:master Nov 11, 2024
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants