-
Notifications
You must be signed in to change notification settings - Fork 5
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
Windows Compatibility issue #16
Comments
Please add screenshots instead of pictures. Just makes it look cleaner. On windows you can use |
Added Screenshots now |
Will look into this! Edit: Should work on both Windows and *nix |
@RITIKHARIANI |
Without the quotes? |
Okay Nice |
Great @RITIKHARIANI ! |
Works fine |
Let's merge? If everything is fine |
Describe the bug
The prettier-format script doesn't work on windows. It works only on Linux. Due to this, the Windows User wont be able to make a commit.
This is because in Windows the path is described with '\' backslashes and in Linux it uses forward slashes '/'
posterior/package.json
Line 12 in 2fce313
To Reproduce
Steps to reproduce the behavior:
Try making a commit on Windows. The husky script will throw an error.
Expected behavior

A clear and concise description of what you expected to happen.
Screenshots
Fix for Windows OS is as follows:
Desktop (please complete the following information):
Smartphone (please complete the following information):
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: