From f6a83c3701c84192016bee735009957c2f396df8 Mon Sep 17 00:00:00 2001 From: Niels van Velzen Date: Sun, 29 Nov 2020 14:46:18 +0100 Subject: [PATCH] Make linter happy --- src/components/pluginManager.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/pluginManager.js b/src/components/pluginManager.js index 5d4fef2143..f2074bab5b 100644 --- a/src/components/pluginManager.js +++ b/src/components/pluginManager.js @@ -75,9 +75,9 @@ import { playbackManager } from './playback/playbackmanager'; if (pluginSpec in window) { console.log(`Loading plugin (via window): ${pluginSpec}`); let pluginInstance = await window[pluginSpec]; - + if (typeof pluginInstance === 'function') { - pluginInstance = await pluginInstance(); + pluginInstance = await pluginInstance(); } // init plugin and pass basic dependencies