Skip to content
This repository has been archived by the owner on Apr 25, 2024. It is now read-only.

getAndSaveFile is not waiting for the file to be completely written #1

Open
devCharles opened this issue Mar 9, 2018 · 0 comments
Open

Comments

@devCharles
Copy link

The function getAndSaveFile is returning true even when the file is not created yet, i would recommend to add a listener on the fs.createWriteStream to wait for the file end and promisify all of these to ensure that true is returned only when the file is completely written

congrats for this new client, it is awesome ;)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant