-
Notifications
You must be signed in to change notification settings - Fork 246
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
"pronto run" doesn't to do anything, --staged crashes #240
Labels
Comments
Closed
My workaround:
https://gist.github.com/vochicong/9c58ffbe045772fc2d4010b0b7c63f41#file-precommit-part1-sh |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I created a bogus file on a bogus branch on my MacOS machine:
However neither of the following commands yields a result until I have commited the changes:
pronto run (before or after git add .)
pronto run --unstaged (before git add .)
Running pronto run --staged (after git add .) I get the following error message:
Only after I commit I get to see the error messages of the runners. However I would prefer to be able to run pronto as a pre-commit-git-hook.
Update 1:
Seems like the issue is that the file is untracked. Is there a way to run pronto on untracked files?
Update 2:
Running
pronto run --unstaged
on existing files works fine before runninggit add .
- however runningpronto run --staged
aftergit add .
still crashes.Update 3:
Seems like
pronto run --staged
only crashes for new files. It does however work fine for existing files.The text was updated successfully, but these errors were encountered: