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(electron): correct implementation of Filesystem.appendFile #2567

Merged
merged 3 commits into from
Mar 16, 2020

Conversation

digaus
Copy link
Contributor

@digaus digaus commented Mar 13, 2020

Currently appendFile on electron is broken because the parameters are in the wrong order.

Also if data was binary the append would not work correctly because the string did not get converted to a buffer

@digaus digaus changed the title Electron append file Fix Electron appendFile Mar 13, 2020
Copy link
Member

@jcesarmobile jcesarmobile left a comment

Choose a reason for hiding this comment

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

good catch, thanks!

@jcesarmobile jcesarmobile changed the title Fix Electron appendFile fix(electron): correct implementation of appendFile Mar 16, 2020
@jcesarmobile jcesarmobile changed the title fix(electron): correct implementation of appendFile fix(electron): correct implementation of Filesystem.appendFile Mar 16, 2020
@jcesarmobile jcesarmobile merged commit c6a3b3b into ionic-team:master Mar 16, 2020
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.

2 participants