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

bucharest-gold / license-reporter / 113 / 3
92%
master: 92%

Build:
DEFAULT BRANCH: master
Ran 22 Aug 2017 03:52AM UTC
Files 9
Run time 0s
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 Aug 2017 12:14PM UTC coverage: 92.366% (+0.6%) from 91.736%
113.3

push

travis-ci

danbev
src: support arrays of licenses in license field

Currently if a project specifies multiple licenses as an array the
following error will be reported:

return value === undefined || value === '' || value.toUpperCase() ===
unknown;
                                                      ^
TypeError: value.toUpperCase is not a function
    at check
(/bucharest-gold/license-reporter/lib/unknown.js:37:55)
    at unknownCheck
(/bucharest-gold/license-reporter/lib/unknown.js:21:10)
    at project.licenses.license.filter
(/bucharest-gold/license-reporter/lib/unknown.js:8:9)
    at Array.filter (native)
    at Object.module.exports.check
(/bucharest-gold/license-reporter/lib/unknown.js:6:35)
    at Test.test
(/bucharest-gold/license-reporter/test/unknown-test.js:20:48)
    at Test.bound [as _cb]
(/bucharest-gold/license-reporter/node_modules/tape/lib/test.js:64:32)
    at Test.run
(/bucharest-gold/license-reporter/node_modules/tape/lib/test.js:83:10)
    at Test.bound [as run]
(/bucharest-gold/license-reporter/node_modules/tape/lib/test.js:64:32)
    at Immediate.next [as _onImmediate]
(/bucharest-gold/license-reporter/node_modules/tape/lib/results.js:71:15)

While I have to double check the issue repored in #84 I'm adding a Fixes
as I suspect the same error migth be causing this. I run the tool
against the same repository and not been able to reproduce the exact
error and with this commit I don't get any errors.

Fixes: https://github.com/bucharest-gold/license-reporter/issues/84

31 of 35 branches covered (88.57%)

Branch coverage included in aggregate %.

90 of 96 relevant lines covered (93.75%)

10.03 hits per line

Source Files on job 113.3
  • Tree
  • List 0
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 113
  • Travis Job 113.3
  • 734211a8 on github
  • Prev Job for on master (#111.1)
  • Next Job for on master (#115.2)
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