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

sourcery review --fix does not work on directories. #384

Closed
rob101 opened this issue Aug 29, 2023 · 2 comments
Closed

sourcery review --fix does not work on directories. #384

rob101 opened this issue Aug 29, 2023 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@rob101
Copy link

rob101 commented Aug 29, 2023

Checklist

  • [x ] I have searched the Sourcery documentation for the issue, and found nothing
  • [ x] I have checked there are no open bugs referencing the same bug or problem

Description

When running sourcery review -fix [dirname] sourcery will identify the number of files but fail to lint or provide any fixes.

When running sourcery review -fix [filename] it applies fixes as expected.

Debug Information

IDE Version:
Terminal

Sourcery Version:
Latest

Operating system and Version:
Windows 11

@rob101 rob101 added the bug Something isn't working label Aug 29, 2023
@ruancomelli ruancomelli self-assigned this Aug 29, 2023
@ruancomelli
Copy link
Contributor

Hello, @rob101! Thanks for reaching out.

Unfortunately, I am unable to reproduce this issue. The command sourcery review --fix [path] works correctly even if path is a directory (I tested it with the sourcery --version 1.8.0).

Can you please share your Sourcery log file with [email protected] for me to further look into this issue?

@Hellebore
Copy link
Collaborator

Closing for now - please reopen if we get more details

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants