-
Notifications
You must be signed in to change notification settings - Fork 285
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
Single file inputs for buf format
#2516
Comments
We'll look into it! Thanks for the bug report. |
Aha - I think I've figured out why it used to work; in a sibling directory we do have a It seems odd that this should cause a problem. Here's the relevant portion of my file tree:
And I'm running Maybe this is more indicative of how it's breaking? |
Here's the hack that gets it working non-idempotently:
|
Same issue here. I have no
Running simply
I tried both absolute and relative paths, but same result anyway |
We're working on some wholesale fixes to path targeting in a branch right now that will come out in the coming weeks - we hope this will be fixed as part of that process. |
I'm trying to format a single file using Spotless' Buf integration. Spotless is running the following:
/absolute/path/to/buf format /absolute/path/to/file.proto
The file is not in a workspace; there is no
buf.work.yaml
anywhere in the file hierarchy.I'm getting the same error as in #1056:
Is there any way around this? I'm mystified that this ever worked.
The text was updated successfully, but these errors were encountered: