Skip to content

Commit 6e885cb

Browse files
committed
accept either case of styleguideExcludes
closes #627
1 parent 6cdc540 commit 6e885cb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/lib/ui_builder.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -485,7 +485,7 @@ var ui_builder = function () {
485485

486486
var p;
487487
var typePatterns = [], styleguideTypePatterns = [];
488-
var styleGuideExcludes = patternlab.config.styleGuideExcludes;
488+
var styleGuideExcludes = patternlab.config.styleGuideExcludes || patternlab.config.styleguideExcludes;
489489

490490
_.forOwn(patternTypeObj, function (patternSubtypes, patternSubtype) {
491491

0 commit comments

Comments
 (0)