Skip to content

Commit 7a74545

Browse files
committed
fix eslint warnings
1 parent 02d8af0 commit 7a74545

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

core/lib/ui_builder.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,6 @@ var ui_builder = function () {
8282
* @returns boolean - whether or not the pattern is excluded
8383
*/
8484
function isPatternExcluded(pattern, patternlab) {
85-
var styleGuideExcludes = patternlab.config.styleGuideExcludes;
8685
var isOmitted;
8786

8887
// skip underscore-prefixed files
@@ -506,7 +505,7 @@ var ui_builder = function () {
506505
});
507506
if (omitPatternType) {
508507
if (patternlab.config.debug) {
509-
console.log('Omitting ' + patternType+ ' from building a viewall page because its patternGroup is specified in styleguideExcludes.');
508+
console.log('Omitting ' + patternType + ' from building a viewall page because its patternGroup is specified in styleguideExcludes.');
510509
}
511510
} else {
512511
patterns = patterns.concat(typePatterns);

0 commit comments

Comments
 (0)