Skip to content

Conversation

@MamunC0der
Copy link

replace the manual if err != nil && os.IsNotExist(err) check with return !os.IsNotExist(err) in common/path.go. Remove the redundant branch while keeping behaviour identical and relying on the standard-library helper for readability

@MamunC0der MamunC0der changed the title Simplify FileExist path helper common, path: simplify FileExist helper Oct 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant