Skip to content

Conversation

@cmaglie
Copy link
Member

@cmaglie cmaglie commented Mar 5, 2024

Please check if the PR fulfills these requirements

See how to contribute

  • The PR has no duplicates (please search among the Pull Requests
    before creating one)
  • The PR follows
    our contributing guidelines
  • Tests for the changes have been added (for bug fixes / features)
  • Docs have been added / updated (for bug fixes / features)
  • UPGRADING.md has been updated with a migration guide (for breaking changes)
  • configuration.schema.json updated if new parameters are added.

What kind of change does this PR introduce?

Just a small warning fix detected by the go linter:

   if err != nil {
      ~~~~~~~~~~

Impossible error condition nil != nil

What is the current behavior?

What is the new behavior?

Does this PR introduce a breaking change, and is titled accordingly?

Other information

   if err != nil {
      ~~~~~~~~~~

Impossible error condition `nil != nil`
@cmaglie cmaglie self-assigned this Mar 5, 2024
@cmaglie cmaglie requested a review from a team March 5, 2024 08:24
@cmaglie cmaglie added type: enhancement Proposed improvement topic: code Related to content of the project itself labels Mar 5, 2024
@codecov
Copy link

codecov bot commented Mar 5, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 69.47%. Comparing base (fcb2670) to head (fd1c4c4).
Report is 1 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #2558      +/-   ##
==========================================
+ Coverage   69.46%   69.47%   +0.01%     
==========================================
  Files         205      205              
  Lines       20207    20203       -4     
==========================================
  Hits        14037    14037              
+ Misses       5048     5045       -3     
+ Partials     1122     1121       -1     
Flag Coverage Δ
unit 69.47% <ø> (+0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@cmaglie cmaglie merged commit 0d86bf5 into arduino:master Mar 5, 2024
@cmaglie cmaglie deleted the fix_lint branch March 5, 2024 09:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

topic: code Related to content of the project itself type: enhancement Proposed improvement

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants