Skip to content

Commit 477727b

Browse files
committed
chore(formatting): fix lint
vscode was not auto-fixing
1 parent bf129a0 commit 477727b

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

packages/core/src/lib/plugin_manager.js

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
'use strict';
22

3-
const plugin_manager = function () {
3+
const plugin_manager = function() {
44
const path = require('path');
55
const logger = require('./log');
66

@@ -37,23 +37,25 @@ const plugin_manager = function () {
3737
* @param {object} patternlab
3838
*/
3939
function initializePlugins(patternlab) {
40-
const foundPlugins = Object.keys(patternlab.config.plugins || {})
40+
const foundPlugins = Object.keys(patternlab.config.plugins || {});
4141
foundPlugins.forEach(plugin => {
4242
logger.info(`Found plugin: ${plugin}`);
4343
logger.info(`Attempting to load and initialize plugin.`);
44-
const pluginModule = loadPlugin(path.join(process.cwd(), 'node_modules', plugin));
44+
const pluginModule = loadPlugin(
45+
path.join(process.cwd(), 'node_modules', plugin)
46+
);
4547
pluginModule(patternlab);
4648
});
4749
}
4850

4951
async function raiseEvent(patternlab, eventName, args) {
5052
patternlab.events.emit(eventName, args);
51-
await (async function () {
53+
await (async function() {
5254
const hookHandlers = (patternlab.hooks[eventName] || []).map(h =>
5355
h(args)
5456
);
5557

56-
const results = await Promise.all(hookHandlers);
58+
await Promise.all(hookHandlers);
5759
})();
5860
}
5961

0 commit comments

Comments
 (0)