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

Storage bucket with different behaviours #3185

Closed
doriable opened this issue Jul 24, 2024 · 0 comments · Fixed by #3188
Closed

Storage bucket with different behaviours #3185

doriable opened this issue Jul 24, 2024 · 0 comments · Fixed by #3188
Assignees
Labels
Bug Something isn't working

Comments

@doriable
Copy link
Member

doriable commented Jul 24, 2024

GitHub Repository

https://github.com/bufbuild/buf

Commands

buf build -o out.bin path/to/input --path path/to/input/my.proto
buf build -o out.bin /abs/path/to/input --path /abs/path/to/input/my.proto

Output

Failure: stat /abs/path/to/input/my.proto/buf.work.yaml: not a directory

Expected Output

When investigating #3183, it seems that in the case of a relative input (and subsequently a storage bucket with a relative root), the error was not surfaced, and only surfaced with the absolute input (which has a storage bucket with an absolute root path).

I would expect the stat error in both cases before the fix in #3184.

Anything else?

No response

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

Successfully merging a pull request may close this issue.

2 participants