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

[BUG] Deleting a file when only_changed is enabled results in error #31

Labels
bug Something isn't working

Comments

@J-Fields
Copy link
Contributor

What exactly happened?
Steps to reproduce the behavior:

  1. Configure to prettify on push with only_changed: true
  2. Delete a file that would normally be prettified
  3. Commit & push
  4. See error: fatal: pathspec 'deletedFile.js' did not match any files

What should've happened?
Deleted files should be excluded from prettification

This should be fixable by passing --diff-filter=d to git diff

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment