• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

pinojs / pino / 1860 / 1
98%
master: 98%

Build:
DEFAULT BRANCH: master
Ran 21 Dec 2018 01:18PM UTC
Files 9
Run time 1s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

21 Dec 2018 01:15PM UTC coverage: 100.0%. Remained the same
1860.1

push

travis-ci

mcollina
 fix invalid JSON when `redact.remove` acts on chindings (#570)

* add failing test for redact.remove on child logger

* fix throw when `redact.remove` acts on chindings

The previous commit holds the failing test case.
This commit fixes the issue, passing the test.

The issue was that using `redact.remove` on a key that was
subsequently used in a child binding, was cause logging on
the child logger to produce JSON with `"key":undefined` in it.

While this doesn't crash the logger, the JSON is invalid and therefore
will break many recieving systems, at best causing logs to be missed.

In the test suite, the output is `JSON.parse`d which throws due to the
invalid output.

364 of 364 branches covered (100.0%)

549 of 549 relevant lines covered (100.0%)

288.21 hits per line

Source Files on job 1860.1
  • Tree
  • List 0
  • Changed 6
  • Source Changed 1
  • Coverage Changed 6
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 1682
  • Travis Job 1860.1
  • 1afe9d26 on github
  • Prev Job for on master (#1857.3)
  • Next Job for on master (#1861.4)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc