From 6e885cbfbea4f8a3b0145ab1a9504e903c602ae9 Mon Sep 17 00:00:00 2001 From: BRIAN MUENZENMEYER Date: Wed, 22 Feb 2017 21:20:42 -0600 Subject: [PATCH] accept either case of styleguideExcludes closes #627 --- core/lib/ui_builder.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/lib/ui_builder.js b/core/lib/ui_builder.js index 73227d570..c62ea9193 100644 --- a/core/lib/ui_builder.js +++ b/core/lib/ui_builder.js @@ -485,7 +485,7 @@ var ui_builder = function () { var p; var typePatterns = [], styleguideTypePatterns = []; - var styleGuideExcludes = patternlab.config.styleGuideExcludes; + var styleGuideExcludes = patternlab.config.styleGuideExcludes || patternlab.config.styleguideExcludes; _.forOwn(patternTypeObj, function (patternSubtypes, patternSubtype) {