removed extra logging line

This commit is contained in:
antelle 2017-02-19 20:09:09 +01:00
parent f5f41e3694
commit 8e36237d2f
1 changed files with 1 additions and 1 deletions

View File

@ -21,7 +21,7 @@ const PluginManager = Backbone.Model.extend({
const ts = this.logger.ts();
return Promise.resolve().then(() => {
const state = this.loadState();
if (!state || !state.plugins) {
if (!state || !state.plugins || !state.plugins.length) {
return;
}
const promises = state.plugins.map(plugin => this.loadPlugin(plugin));