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

Not working on Mac OS Big Sur (11.1) #11

Open
rexwang opened this issue Dec 29, 2020 · 1 comment
Open

Not working on Mac OS Big Sur (11.1) #11

rexwang opened this issue Dec 29, 2020 · 1 comment

Comments

@rexwang
Copy link

rexwang commented Dec 29, 2020

I am using oh-my-zsh, the following error showed up:

Formatting files...
JetBrains Cleanup Code 2019.3.1
Running in 64-bit mode, .NET runtime 4.0.30319.42000 under Unix 20.2.0.0
Usage: CleanupCode.exe [options] [project file]
Show help: CleanupCode.exe --help
"sh ./.git/hooks/resharper/cleanupcode.sh --profile="Built-in: Reformat Code" $SOLUTION_FILE --include="$INCLUDE_STRING"" command filed with exit code 1.

@GeeWee
Copy link
Owner

GeeWee commented Dec 30, 2020

Interesting. Can you try to go into the pre-commit file in {solutionDir}/.git/hooks/pre-commit and add the following lines

echo "SOLUTION FILE" $SOLUTION_FILE;
echo "INCLUDE_STRING" $INCLUDE_STRING;
echo "STAGED_FILES" $STAGED_FILES;

right above the line if [[ "$OSTYPE" == "msys"* ]]; then (should be line 30~

Then try to commit again and let me know what the output of those lines are?

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

No branches or pull requests

2 participants