-
-
Notifications
You must be signed in to change notification settings - Fork 29
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
Remove might be a bit to harsh #8
Comments
Yes, it could return an error there. However, the runtime directory
EDIT: it's a very unlikely scenario. But yes, it probably is a bit harsh to remove it. |
Correct, I agree that these are the rules, but if that path exists, and I don't have XDG path setup, a program would simply delete that file. The way I look at it, if Bu I do agree that an error should be returned, such that we adhere to the rules. |
Removed the directory verification. If the file is not a directory, |
xdg/base_dirs.go
Lines 57 to 60 in aad56ae
Shouldn't this just give an error? It feels like deleting a file without "consent" is a bit harsh.
The text was updated successfully, but these errors were encountered: