mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 17:28:26 -04:00
# Backport This will backport the following commits from `main` to `8.15`: - [`yarn kbn reset` will clean data/ as well to avoid stale state (#188298)](https://github.com/elastic/kibana/pull/188298) <!--- Backport version: 9.4.3 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Alex Szabo","email":"alex.szabo@elastic.co"},"sourceCommit":{"committedDate":"2024-07-15T14:38:57Z","message":"`yarn kbn reset` will clean data/ as well to avoid stale state (#188298)\n\n## Summary\r\nIn some cases, the `data/` folder sticking around is causing developers'\r\nenvironments to be corrupted. None of the current reset/clean methods\r\nclean that folder. This PR adds this small adjustment.\r\n\r\nCloses: https://github.com/elastic/kibana/issues/187914","sha":"f1fa22125115c13638e3470891f62fbbe02c71bb","branchLabelMapping":{"^v8.16.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Operations","release_note:skip","backport:all-open","v8.16.0"],"title":"`yarn kbn reset` will clean data/ as well to avoid stale state","number":188298,"url":"https://github.com/elastic/kibana/pull/188298","mergeCommit":{"message":"`yarn kbn reset` will clean data/ as well to avoid stale state (#188298)\n\n## Summary\r\nIn some cases, the `data/` folder sticking around is causing developers'\r\nenvironments to be corrupted. None of the current reset/clean methods\r\nclean that folder. This PR adds this small adjustment.\r\n\r\nCloses: https://github.com/elastic/kibana/issues/187914","sha":"f1fa22125115c13638e3470891f62fbbe02c71bb"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v8.16.0","branchLabelMappingKey":"^v8.16.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/188298","number":188298,"mergeCommit":{"message":"`yarn kbn reset` will clean data/ as well to avoid stale state (#188298)\n\n## Summary\r\nIn some cases, the `data/` folder sticking around is causing developers'\r\nenvironments to be corrupted. None of the current reset/clean methods\r\nclean that folder. This PR adds this small adjustment.\r\n\r\nCloses: https://github.com/elastic/kibana/issues/187914","sha":"f1fa22125115c13638e3470891f62fbbe02c71bb"}}]}] BACKPORT--> Co-authored-by: Alex Szabo <alex.szabo@elastic.co>
This commit is contained in:
parent
ec48c9efcb
commit
4689d709c1
1 changed files with 1 additions and 0 deletions
|
@ -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)),
|
||||
]);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue