From 8333a5dcd998a769d01c69ef8511221086eba924 Mon Sep 17 00:00:00 2001 From: barisusakli Date: Thu, 13 Aug 2015 16:03:15 -0400 Subject: [PATCH] fix filter --- src/install.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/install.js b/src/install.js index fb100280c7..caafcbfacc 100644 --- a/src/install.js +++ b/src/install.js @@ -499,7 +499,7 @@ function enableDefaultPlugins(next) { } defaultEnabled = defaultEnabled.filter(function(plugin, index, array) { - return array.indexOf(plugin) === -1; + return array.indexOf(plugin) === index; }); var db = require('./database');