Skip to content

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

Closed
@J-Fields

Description

@J-Fields

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions