equilaterus / bootlaterus

The Compatible and Friendly Bootstrap Superset
https://equilaterus.github.io/bootlaterus/
MIT License
4 stars 1 forks source link

Fix grunt task when no html files are available #181

Closed dacanizares closed 5 years ago

dacanizares commented 5 years ago

Grunt script should build even without an html folder to support a npm release that doesn't include sample site.

This line is causing problems:

const htmlFiles = utilities.getFilenamesFromDirectory(srcHtmlPath, '.html') .concat(utilities.getFilenamesFromDirectory(${srcHtmlPath}/samples, '.html'));