Skip to content
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

fix: encode 0 in observe option with zero byte length #345

Merged
merged 2 commits into from May 18, 2022

Conversation

JKRhb
Copy link
Member

@JKRhb JKRhb commented May 17, 2022

This PR should finally fix the issues reported in iobroker-community-adapters/ioBroker.philips-air#15 by encoding a value of zero in observe options with a length of zero bytes (as it has been the case before).

@JKRhb JKRhb changed the title fix: encode 0 in observe option with zero bytes fix: encode 0 in observe option with zero byte length May 17, 2022
@coveralls
Copy link

coveralls commented May 17, 2022

Pull Request Test Coverage Report for Build 2341462770

  • 26 of 29 (89.66%) changed or added relevant lines in 1 file are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+0.006%) to 91.764%

Changes Missing Coverage Covered Lines Changed/Added Lines %
lib/agent.ts 26 29 89.66%
Totals Coverage Status
Change from base Build 2308841468: 0.006%
Covered Lines: 2840
Relevant Lines: 3053

💛 - Coveralls

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.

None yet

3 participants