File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -134,7 +134,7 @@ var patternlab_engine = function (config) {
134134 try {
135135 patternlab . userHead = pattern_assembler . get_pattern_by_key ( 'atoms-head' , patternlab ) ;
136136 }
137- catch ( ex ) {
137+ catch ( ex ) {
138138 if ( patternlab . config . debug ) {
139139 console . log ( ex ) ;
140140 console . log ( 'Could not find optional user-defined header, atoms-head pattern. It was likely deleted.' ) ;
@@ -143,7 +143,7 @@ var patternlab_engine = function (config) {
143143 try {
144144 patternlab . userFoot = pattern_assembler . get_pattern_by_key ( 'atoms-foot' , patternlab ) ;
145145 }
146- catch ( ex ) {
146+ catch ( ex ) {
147147 if ( patternlab . config . debug ) {
148148 console . log ( ex ) ;
149149 console . log ( 'Could not find optional user-defined footer, atoms-foot pattern. It was likely deleted.' ) ;
@@ -195,7 +195,7 @@ var patternlab_engine = function (config) {
195195 }
196196
197197 //write the compiled template to the public patterns directory
198- fs . outputFileSync ( paths . public . patterns + pattern . patternLink , headHtml + pattern . patternPartial + pattern . footer ) ;
198+ fs . outputFileSync ( paths . public . patterns + pattern . patternLink , headHtml + pattern . patternPartial + pattern . footer ) ;
199199
200200 //write the mustache file too
201201 fs . outputFileSync ( paths . public . patterns + pattern . patternLink . replace ( '.html' , '.mustache' ) , entity_encoder . encode ( pattern . template ) ) ;
You can’t perform that action at this time.
0 commit comments