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

markdalgleish / static-site-generator-webpack-plugin / 234
100%

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

pending completion
234

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

Jobs
ID Job ID Ran Files Coverage
1 234.1 31 Jan 2017 10:00AM UTC 0
100.0
Travis Job 234.1
Source Files on build 234
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #234
  • Pull Request #75
  • PR Base - master (#213)
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