mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 09:48:58 -04:00
yarn kbn reset
will clean data/ as well to avoid stale state (#188298)
## Summary In some cases, the `data/` folder sticking around is causing developers' environments to be corrupted. None of the current reset/clean methods clean that folder. This PR adds this small adjustment. Closes: https://github.com/elastic/kibana/issues/187914
This commit is contained in:
parent
d5345e442d
commit
f1fa221251
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