chore(NA): add exception for timelion server function folders on clean dll logic (#54086) (#54421)

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
This commit is contained in:
Tiago Costa 2020-01-10 15:16:59 +00:00 committed by GitHub
parent b32727885c
commit 8dd1413715
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -48,6 +48,8 @@ export const CleanClientModulesOnDLLTask = {
];
const discoveredLegacyCorePluginEntries = await globby([
`${baseDir}/src/legacy/core_plugins/*/index.js`,
// Small exception to load dynamically discovered functions for timelion plugin
`${baseDir}/src/legacy/core_plugins/timelion/server/*_functions/**/*.js`,
`!${baseDir}/src/legacy/core_plugins/**/public`,
]);
const discoveredPluginEntries = await globby([