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

Fixes to fs promises so that an electron built version runs #3139

Merged
merged 2 commits into from
Sep 27, 2021

Conversation

dceejay
Copy link
Member

@dceejay dceejay commented Sep 10, 2021

  • Bugfix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)

Proposed changes

This replaces fs-extra with fs and uses the fs.promises versions for the async calls
This fixes the issue that causes electron to fail to run complaining about Unhandled promise rejection.

In draft as tests now fail... need to discuss if it's the tests that need fixing or the code...

Checklist

  • I have read the contribution guidelines
  • For non-bugfix PRs, I have discussed this change on the forum/slack team.
  • I have run grunt to verify the unit tests pass
  • I have added suitable unit tests to cover the new/changed functionality

@knolleary
Copy link
Member

/easycla

@linux-foundation-easycla
Copy link

linux-foundation-easycla bot commented Sep 17, 2021

CLA Signed

The committers are authorized under a signed CLA.

@dceejay
Copy link
Member Author

dceejay commented Sep 17, 2021

/easycla

Co-authored-by: Nick O'Leary <nick.oleary@gmail.com>
@coveralls
Copy link

Coverage Status

Coverage remained the same at 67.632% when pulling 2fe78cf on fs-promises into 17f9829 on master.

@knolleary knolleary marked this pull request as ready for review September 27, 2021 16:50
@knolleary knolleary merged commit 068f425 into master Sep 27, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants