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

pinojs / pino / 1860
98%

Build:
DEFAULT BRANCH: master
Ran 21 Dec 2018 01:17PM UTC
Jobs 4
Files 9
Run time 1min
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

pending completion
1860

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%)

1152.83 hits per line

Jobs
ID Job ID Ran Files Coverage
1 1860.1 21 Dec 2018 01:18PM UTC 0
100.0
Travis Job 1860.1
2 1860.2 21 Dec 2018 01:17PM UTC 0
100.0
Travis Job 1860.2
3 1860.3 21 Dec 2018 01:17PM UTC 0
100.0
Travis Job 1860.3
4 1860.4 21 Dec 2018 01:17PM UTC 0
100.0
Travis Job 1860.4
Source Files on build 1860
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #1860
  • 1afe9d26 on github
  • Prev Build on master (#1857)
  • Next Build on master (#1861)
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