Skip to content

Conversation

@krunal-chauhan-1705
Copy link

Description

This PR fixes a typo in the exception message when the 'cz init' command is invoked, but it fails to install the pre-commit hook.

Checklist

  • Add test cases to all the changes you introduce
  • Run ./scripts/format and ./scripts/test locally to ensure this change passes linter check and test
  • Test the changes on the local machine manually
  • Update the documentation for the changes

Expected behavior

The exception message pre-commit is not installed in the current environment. should be visible to the user.

Current behavior

The user sees the exception message pre-commit is not installed in the current environement.

Steps to Test This Pull Request

Additional context

… function

Signed-off-by: ChauhanKrunal <chauhan.krunal.r@gmail.com>
@Lee-W
Copy link
Member

Lee-W commented Apr 23, 2023

Hi, thanks for contributing! https://github.com/commitizen-tools/commitizen/pull/671/files did the same change and has been merged.

@Lee-W Lee-W closed this Apr 23, 2023
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.

2 participants