Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(NA): recursive delete function on watch cache directory #54758

Merged
merged 1 commit into from
Jan 14, 2020

Conversation

mistic
Copy link
Member

@mistic mistic commented Jan 14, 2020

That fixes a problem introduced by #54457

Currently, on master, trying to yarn start after yarn kbn clean outputs the following error:

{ [Error: ENOENT: no such file or directory, scandir 'kibana/built_assets/.cache/ui_bundles']
  errno: -2,
  code: 'ENOENT',
  syscall: 'scandir',
  path:
   'kibana/built_assets/.cache/ui_bundles' }

 FATAL  Error: ENOENT: no such file or directory, scandir 'kibana/built_assets/.cache/ui_bundles'

That happens because readdirAsync throws an unhandled exception.

@mistic mistic added chore Team:Operations Team label for Operations Team v8.0.0 release_note:skip Skip the PR/issue when compiling release notes v7.6.0 labels Jan 14, 2020
@mistic mistic requested a review from tylersmalley January 14, 2020 16:38
@mistic mistic requested a review from a team as a code owner January 14, 2020 16:38
@mistic mistic self-assigned this Jan 14, 2020
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-operations (Team:Operations)

Copy link
Contributor

@tylersmalley tylersmalley left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM - also tested with what was described in #54457

@kibanamachine
Copy link
Contributor

💚 Build Succeeded

To update your PR or re-run it, just comment with:
@elasticmachine merge upstream

@mistic
Copy link
Member Author

mistic commented Jan 14, 2020

7.x: 81d9c40

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
chore release_note:skip Skip the PR/issue when compiling release notes Team:Operations Team label for Operations Team v7.6.0 v8.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants