Make linter happy

This commit is contained in:
Niels van Velzen 2020-11-29 14:46:18 +01:00 committed by GitHub
parent 00c6501dc8
commit f6a83c3701
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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