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
On 1.8.2 can't run swag fmt
on a different filesystem from /tmp
#1203
Comments
Perhaps this problem can be temporarily resolved with the following command: go run github.com/swaggo/swag/cmd/swag@v1.8.1 fmt
go run github.com/swaggo/swag/cmd/swag@v1.8.1 init |
any update about this issue? |
I am also having this problem. |
tanopanta
added a commit
to tanopanta/swag
that referenced
this issue
Jun 22, 2022
I had the same problem, so I issued a PR #1241 |
ubogdan
pushed a commit
that referenced
this issue
Jun 27, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
Running
swag fmt
fails if project dir is on a different filesystem than/tmp
To Reproduce
Steps to reproduce the behavior:
swag fmt
on a folder in a different filesystem than/tmp
Expected behavior
Run as previous version
Screenshots
2022/05/16 13:38:25 fmt: rename /tmp/config.go2566375799 config.go: invalid cross-device link
Your swag version
1.8.2
Your go version
1.18
Desktop (please complete the following information):
Additional context
It was working fine until last week
The text was updated successfully, but these errors were encountered: