Default opts in Strapi()

This commit is contained in:
Alexandre Bodin 2020-01-10 12:25:41 +01:00
parent d5d80ba407
commit 51b3dade8f

View File

@ -61,7 +61,7 @@ const CONFIG_PATHS = {
*/
class Strapi extends EventEmitter {
constructor(opts) {
constructor(opts = {}) {
super();
this.setMaxListeners(100);