Skip to content

Docs: fix how-to.html example for CI#1503

Open
hoopyfroody wants to merge 1 commit into
typicode:mainfrom
hoopyfroody:mattixittam-howto-fix-ci
Open

Docs: fix how-to.html example for CI#1503
hoopyfroody wants to merge 1 commit into
typicode:mainfrom
hoopyfroody:mattixittam-howto-fix-ci

Conversation

@hoopyfroody

Copy link
Copy Markdown

In the CI example, the docs incorrectly assume that the default import from the husky package is the install() method, where it is actually an object that has install() as a property. This cost me about 10 minutes just now, so I thought I'd fix the text.

@hoopyfroody hoopyfroody changed the title Fix how-to.html example for CI Sep 3, 2024
@typicode

typicode commented Sep 3, 2024

Copy link
Copy Markdown
Owner

Thanks for the PR. Maybe you were on an older version.
There's no install export https://github.com/typicode/husky/blob/main/index.js#L8

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

Labels

None yet

2 participants