Skip to content

fix: postinstall should ignore adding hooks if SKIP_INSTALL_SIMPLE_GI…#128

Merged
toplenboren merged 2 commits into
toplenboren:masterfrom
OlofFredriksson:master
Jun 16, 2025
Merged

fix: postinstall should ignore adding hooks if SKIP_INSTALL_SIMPLE_GI…#128
toplenboren merged 2 commits into
toplenboren:masterfrom
OlofFredriksson:master

Conversation

@OlofFredriksson

Copy link
Copy Markdown
Contributor

Unsure if feature or bug (or me doing something wrong..) but shouldn't postinstall.js behave like cli.js? i.e not adding any hooks if SKIP_INSTALL_SIMPLE_GIT_HOOKS is defined?

Comment thread postinstall.js Outdated
@OlofFredriksson OlofFredriksson force-pushed the master branch 2 times, most recently from 5c68354 to 1718d1a Compare June 13, 2025 18:12
@changeset-bot

changeset-bot Bot commented Jun 13, 2025

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: ecc2d0e

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
simple-git-hooks Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@OlofFredriksson OlofFredriksson requested a review from JounQin June 14, 2025 12:45
Comment thread simple-git-hooks.js Outdated
Comment thread simple-git-hooks.js Outdated

@JounQin JounQin left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

LGTM.

Thanks for your contribution!

@JounQin JounQin requested a review from toplenboren June 16, 2025 16:44

@toplenboren toplenboren left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

LGTM! Thanks for the contribution

@toplenboren toplenboren merged commit 2ad5514 into toplenboren:master Jun 16, 2025
4 checks passed
This was referenced Feb 23, 2026
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