File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -134,7 +134,7 @@ var patternlab_engine = function (config) {
134
134
try {
135
135
patternlab . userHead = pattern_assembler . get_pattern_by_key ( 'atoms-head' , patternlab ) ;
136
136
}
137
- catch ( ex ) {
137
+ catch ( ex ) {
138
138
if ( patternlab . config . debug ) {
139
139
console . log ( ex ) ;
140
140
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) {
143
143
try {
144
144
patternlab . userFoot = pattern_assembler . get_pattern_by_key ( 'atoms-foot' , patternlab ) ;
145
145
}
146
- catch ( ex ) {
146
+ catch ( ex ) {
147
147
if ( patternlab . config . debug ) {
148
148
console . log ( ex ) ;
149
149
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) {
195
195
}
196
196
197
197
//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 ) ;
199
199
200
200
//write the mustache file too
201
201
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