Skip to content

Error: .git directory not found. Betterer must be used within a git repository. #1129

@davidbarratt

Description

@davidbarratt

Describe the bug
Betterer requires a .git directory

To Reproduce
Run betterer ci without a .git directory.

Expected behavior
I expected betterer to create a new results file and use diff (or something like it) in order to check for differences.

Screenshots
N/A

Versions (please complete the following information):

  • OS: Linux
  • Betterer Version: 5.4.0
  • Node Version: 16.x

Additional context
I don't really understand why it would need git in the CI

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions