Skip to content

Commit 88198f0

Browse files
committed
fix some eslint warnings
1 parent a8f83ce commit 88198f0

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

core/lib/patternlab.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff 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));

0 commit comments

Comments
 (0)