From f2d82a3cebd31ca980c40a28f5eadfde2b25dbfc Mon Sep 17 00:00:00 2001 From: Fernando Date: Tue, 19 May 2020 13:51:34 +0200 Subject: [PATCH] Fix #1141 linting --- 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 9f3d70c060..8ccb8b1361 100644 --- a/src/components/pluginManager.js +++ b/src/components/pluginManager.js @@ -53,7 +53,7 @@ define(['events', 'globalize', 'appRouter'], function (events, globalize, appRou } } - if (typeof pluginSpec === "string") { + if (typeof pluginSpec === 'string') { console.debug('Loading plugin (via deprecated requirejs method): ' + pluginSpec); return new Promise(function (resolve, reject) { @@ -101,7 +101,7 @@ define(['events', 'globalize', 'appRouter'], function (events, globalize, appRou return registerPlugin(plugin); }); } else { - const err = new Error("Plugins have to be a Promise that resolves to a plugin builder function or a requirejs urls (deprecated)"); + const err = new Error('Plugins have to be a Promise that resolves to a plugin builder function or a requirejs urls (deprecated)'); console.error(err); return Promise.reject(err); }