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

Adjusts pre-commit to work on Windows #2958

Merged

Conversation

benhammondmusic
Copy link
Collaborator

@benhammondmusic benhammondmusic commented Mar 5, 2024

Description and Motivation

For Windows, it worked when i specified the bash command rather than just using ./ to invoke the sh script

fixes #2954

Has this been tested? How?

working on my Windows VM and on my Mac. I did also add some entries to the PATH environmental variables on windows, not sure if that was needed to get this to work

Screenshots (if appropriate)

Screenshot 2024-03-05 at 9 22 31 AM

Types of changes

(leave all that apply)

  • Bug fix

New frontend preview link is below in the Netlify comment 😎

@benhammondmusic benhammondmusic changed the title Windows bash fix Adjusts pre-commit to work on Windows Mar 5, 2024
@benhammondmusic benhammondmusic marked this pull request as ready for review March 5, 2024 16:25
@benhammondmusic benhammondmusic requested a review from JDemlow March 5, 2024 16:25
@benhammondmusic benhammondmusic merged commit dab1abd into SatcherInstitute:main Mar 5, 2024
6 checks passed
@benhammondmusic benhammondmusic deleted the windows-bash-fix branch March 5, 2024 17:06
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.

Need cross platform solution for .pre-commit-config.yaml
1 participant