diff --git a/x-pack/plugins/fleet/server/services/epm/archive/storage.ts b/x-pack/plugins/fleet/server/services/epm/archive/storage.ts index 08ee455323dc6..cfa110589a010 100644 --- a/x-pack/plugins/fleet/server/services/epm/archive/storage.ts +++ b/x-pack/plugins/fleet/server/services/epm/archive/storage.ts @@ -215,12 +215,11 @@ export const getEsPackage = async ( setArchiveEntry(path, buffer); paths.push(path); } - paths.push(path); if (buffer && filterAssetPathForParseAndVerifyArchive(path)) { assetsMap[path] = buffer; } }); - // // Add asset references to cache + // Add asset references to cache setArchiveFilelist({ name: pkgName, version: pkgVersion }, paths); const packageInfo = parseAndVerifyArchive(paths, assetsMap);