Skip to content

Conversation

@MamunC0der
Copy link
Contributor

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
@fjl fjl changed the title common, path: simplify FileExist helper common: simplify FileExist helper Oct 24, 2025
@rjl493456442 rjl493456442 added this to the 1.16.6 milestone Oct 30, 2025
@rjl493456442 rjl493456442 merged commit ccacbd1 into ethereum:master Oct 30, 2025
5 of 6 checks passed
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.

3 participants