From 5ce598eda4ff370fca65bb0aaf9ae2cd01550214 Mon Sep 17 00:00:00 2001 From: Alex Szabo Date: Mon, 15 Jul 2024 12:43:28 +0200 Subject: [PATCH] chore: yarn kbn reset will clean data/ as well to avoid stale state --- kbn_pm/src/commands/reset_command.mjs | 1 + 1 file changed, 1 insertion(+) diff --git a/kbn_pm/src/commands/reset_command.mjs b/kbn_pm/src/commands/reset_command.mjs index 7331343a0f13e..4209221b8be19 100644 --- a/kbn_pm/src/commands/reset_command.mjs +++ b/kbn_pm/src/commands/reset_command.mjs @@ -36,6 +36,7 @@ export const command = { await cleanPaths(log, [ Path.resolve(REPO_ROOT, 'node_modules'), Path.resolve(REPO_ROOT, 'x-pack/node_modules'), + Path.resolve(REPO_ROOT, 'data'), ...readCleanPatterns(REPO_ROOT), ...(await findPluginCleanPaths(log)), ]);