Skip to content

Commit 6ea5eee

Browse files
committed
chore(lint): Fix lint issues
1 parent d486abf commit 6ea5eee

File tree

5 files changed

+4
-9
lines changed

5 files changed

+4
-9
lines changed

core/lib/decompose.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ module.exports = function (pattern, patternlab, ignoreLineage) {
2626
//find any listItem blocks that within the pattern, even if there are no partials
2727
const listItemPromise = list_item_hunter.process_list_item_partials(pattern, patternlab);
2828

29-
const expandPartialPromise = expandPartials(pattern, patternlab)
29+
const expandPartialPromise = expandPartials(pattern, patternlab);
3030

3131
let lineagePromise;
3232

core/lib/expandPartials.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,15 +56,15 @@ module.exports = function (currentPattern, patternlab) {
5656

5757
return Promise.resolve();
5858
}).catch(reason => {
59-
console.log(reason)
59+
console.log(reason);
6060
logger.error(reason);
6161
});
6262
});
6363

6464
}).catch(reason => {
65-
console.log(reason)
65+
console.log(reason);
6666
logger.error(reason);
6767
});
6868
}
6969
return Promise.resolve();
70-
}
70+
};

core/lib/get.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
"use strict";
22

33
const logger = require('./log');
4-
const path = require('path');
54

65
module.exports = function (partialName, patternlab) {
76
//look for exact partial matches

core/lib/patternlab.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ const jsonCopy = require('./json_copy');
1818
const render = require('./render');
1919
const loadPattern = require('./loadPattern');
2020
const sm = require('./starterkit_manager');
21-
const pe = require('./pattern_exporter');
2221
const Pattern = require('./object_factory').Pattern;
2322
const CompileState = require('./object_factory').CompileState;
2423
const patternEngines = require('./pattern_engines');
@@ -273,8 +272,6 @@ module.exports = class PatternLab {
273272

274273
renderSinglePattern(pattern, head) {
275274

276-
console.log('renderSinglePattern', pattern.patternPartial)
277-
278275
// Pattern does not need to be built and recompiled more than once
279276
if (!pattern.isPattern || pattern.compileState === CompileState.CLEAN) {
280277
return Promise.resolve(false);

test/engine_handlebars_tests.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,6 @@ tap.test('hello worlds handlebars pattern can see the atoms-helloworld partial a
122122
processRecursive(pattern2Path, patternlab).then(() => {
123123
// test
124124
pattern2.render().then((results) => {
125-
console.log(results)
126125
test.equals(results, 'Hello world!' + eol + ' and Hello world!' + eol + eol);
127126
test.end();
128127
});

0 commit comments

Comments
 (0)