diff --git a/src/plugin_discovery/find_plugin_specs.js b/src/plugin_discovery/find_plugin_specs.js index 3eb3c69061fc0..bc474b586d7dd 100644 --- a/src/plugin_discovery/find_plugin_specs.js +++ b/src/plugin_discovery/find_plugin_specs.js @@ -122,7 +122,7 @@ export function findPluginSpecs(settings, configToMutate) { const translationPath$ = config$.pipe( mergeMap(config => Rx.zip( - ...config.get('plugins.translations.paths').map(path => Rx.of([path])), + Rx.of(config.get('plugins.translations.paths')), ...config.get('plugins.translations.scanDirs').map( path => createChildDirectory$(path).pipe( toArray()