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

markdalgleish / static-site-generator-webpack-plugin / 234 / 1
100%
master: 100%

Build:
DEFAULT BRANCH: master
Ran 31 Jan 2017 10:00AM UTC
Files 1
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

31 Jan 2017 09:57AM UTC coverage: 100.0%. Remained the same
234.1

Pull #75

travis-ci

web-flow
Fix a bug occuring when outputPaths is undefined

When *outputPaths* is `undefined`, *outputPaths* is happened to an `array` resulting in an error at 44:42

> Cannot read property 'replace' of undefined

I chosed to use the bundle name with html extension as default path.

Empty string will be considered as undefined. I could have done:

```
this.outputPaths = Array.isArray(outputPaths) ? outputPaths : ['string' === typeof outputPaths ? outputPaths : renderSrc + '.html']
```

but it seemed unjustified.
Pull Request #75: Fix a bug occuring when outputPaths is undefined

63 of 63 relevant lines covered (100.0%)

9.6 hits per line

Source Files on job 234.1
  • Tree
  • List 0
  • Changed 1
  • Source Changed 1
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 234
  • Travis Job 234.1
  • f3d3529c on github
  • Prev Job for on master (#213.1)
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