We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 0b17382 + 9bd2f77 commit 419373eCopy full SHA for 419373e
core/lib/ui_builder.js
@@ -82,7 +82,7 @@ var ui_builder = function () {
82
}
83
84
//this pattern is contained with a directory prefixed with an underscore (a handy way to hide whole directories from the nav
85
- isOmitted = pattern.relPath.charAt(0) === '_' || pattern.relPath.indexOf('/_') > -1;
+ isOmitted = pattern.relPath.charAt(0) === '_' || pattern.relPath.indexOf(path.sep + '_') > -1;
86
if (isOmitted) {
87
if (patternlab.config.debug) {
88
console.log('Omitting ' + pattern.patternPartial + ' from styleguide patterns because its contained within an underscored directory.');
0 commit comments