Skip to content

remove unnecessary nil check - #546

Closed
celestix wants to merge 1 commit into
jpillora:masterfrom
celestix:master
Closed

remove unnecessary nil check#546
celestix wants to merge 1 commit into
jpillora:masterfrom
celestix:master

Conversation

@celestix

Copy link
Copy Markdown

Line 48 already ensures that the error is nil in the listener function's scope afterwards therefore the error check is redundant.

@jpillora

Copy link
Copy Markdown
Owner

Thanks! The always-true err==nil removal has landed (with credit), alongside a fix moving the dead LetsEncrypt warning into the branch where it was intended. Ships next release.

@jpillora jpillora closed this Jun 12, 2026
jpillora added a commit that referenced this pull request Jul 16, 2026
- server_listen: move the LetsEncrypt port-443 warning into the
  hasDomains branch where it was intended (it was dead under
  hasKeyCert) and drop the always-true err==nil (PR #546)
- fix user-facing 'forwaring' error (PRs #588/#575) and README
  .akp->.apk (PR #528); comment typos: represent, received,
  acquired, extracts, fairly straightforward, successfully,
  that's, doesn't
- add codespell job to CI with .codespellrc (PR #430 idea),
  verified clean locally with codespell 2.4.2

Closes md task 25

Co-authored-by: celestix <celestix@users.noreply.github.com>
Co-authored-by: edoardottt <edoardottt@users.noreply.github.com>
Co-authored-by: iMarble <iMarble@users.noreply.github.com>
Co-authored-by: mjtrangoni <mjtrangoni@users.noreply.github.com>
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
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.

2 participants