Merge remote-tracking branch 'refs/remotes/origin/master' into develop

This commit is contained in:
Barış Soner Uşaklı
2018-04-05 12:34:38 -04:00
890 changed files with 4321 additions and 2113 deletions

View File

@@ -451,11 +451,11 @@ function enableDefaultPlugins(next) {
if (customDefaults && customDefaults.length) {
try {
customDefaults = JSON.parse(customDefaults);
customDefaults = Array.isArray(customDefaults) ? customDefaults : JSON.parse(customDefaults);
defaultEnabled = defaultEnabled.concat(customDefaults);
} catch (e) {
// Invalid value received
winston.warn('[install/enableDefaultPlugins] Invalid defaultPlugins value received. Ignoring.');
winston.info('[install/enableDefaultPlugins] Invalid defaultPlugins value received. Ignoring.');
}
}