@@ -75,11 +75,7 @@ const ui_builder = function() {
7575 isOmitted = uikitExcludePattern ( pattern , uikit ) ;
7676 if ( isOmitted ) {
7777 logger . info (
78- `Omitting ${
79- pattern . patternPartial
80- } from styleguide patterns because its pattern state or tag is excluded within ${
81- uikit . name
82- } .`
78+ `Omitting ${ pattern . patternPartial } from styleguide patterns because its pattern state or tag is excluded within ${ uikit . name } .`
8379 ) ;
8480 return true ;
8581 }
@@ -88,9 +84,7 @@ const ui_builder = function() {
8884 isOmitted = pattern . isPattern && pattern . fileName . charAt ( 0 ) === '_' ;
8985 if ( isOmitted ) {
9086 logger . info (
91- `Omitting ${
92- pattern . patternPartial
93- } from styleguide patterns because it has an underscore suffix.`
87+ `Omitting ${ pattern . patternPartial } from styleguide patterns because it has an underscore prefix.`
9488 ) ;
9589 return true ;
9690 }
@@ -99,9 +93,7 @@ const ui_builder = function() {
9993 isOmitted = pattern . patternPartial === patternlab . config . defaultPattern ;
10094 if ( isOmitted ) {
10195 logger . info (
102- `Omitting ${
103- pattern . patternPartial
104- } from styleguide patterns because it is defined as a defaultPattern.`
96+ `Omitting ${ pattern . patternPartial } from styleguide patterns because it is defined as a defaultPattern.`
10597 ) ;
10698 patternlab . defaultPattern = pattern ;
10799 return true ;
@@ -113,9 +105,7 @@ const ui_builder = function() {
113105 pattern . relPath . indexOf ( path . sep + '_' ) > - 1 ;
114106 if ( isOmitted ) {
115107 logger . info (
116- `Omitting ${
117- pattern . patternPartial
118- } from styleguide patterns because its contained within an underscored directory.`
108+ `Omitting ${ pattern . patternPartial } from styleguide patterns because its contained within an underscored directory.`
119109 ) ;
120110 return true ;
121111 }
@@ -124,9 +114,7 @@ const ui_builder = function() {
124114 isOmitted = pattern . isMetaPattern ;
125115 if ( isOmitted ) {
126116 logger . info (
127- `Omitting ${
128- pattern . patternPartial
129- } from styleguide patterns because its a meta pattern.`
117+ `Omitting ${ pattern . patternPartial } from styleguide patterns because its a meta pattern.`
130118 ) ;
131119 return true ;
132120 }
@@ -212,9 +200,7 @@ const ui_builder = function() {
212200
213201 if ( ! patternType ) {
214202 logger . error (
215- `Could not find patternType ${
216- pattern . patternType
217- } . This is a critical error.`
203+ `Could not find patternType ${ pattern . patternType } . This is a critical error.`
218204 ) ;
219205 }
220206
@@ -236,9 +222,7 @@ const ui_builder = function() {
236222
237223 if ( ! patternSubType ) {
238224 logger . error (
239- `Could not find patternType ${ pattern . patternType } -${
240- pattern . patternType
241- } . This is a critical error.`
225+ `Could not find patternType ${ pattern . patternType } -${ pattern . patternType } . This is a critical error.`
242226 ) ;
243227 }
244228
@@ -348,9 +332,7 @@ const ui_builder = function() {
348332 const patternType = getPatternType ( patternlab , pattern ) ;
349333 if ( ! patternType ) {
350334 logger . error (
351- `Could not find patternType ${
352- pattern . patternType
353- } . This is a critical error.`
335+ `Could not find patternType ${ pattern . patternType } . This is a critical error.`
354336 ) ;
355337 }
356338
@@ -867,9 +849,7 @@ const ui_builder = function() {
867849 ) ;
868850 } catch ( err ) {
869851 logger . error (
870- `Could not load one or more styleguidekit assets from ${
871- paths . source . styleguide
872- } `
852+ `Could not load one or more styleguidekit assets from ${ paths . source . styleguide } `
873853 ) ;
874854 }
875855 fs . outputFileSync (
0 commit comments