Skip to content
This repository was archived by the owner on Apr 25, 2024. It is now read-only.
This repository was 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

@devCharles

Description

@devCharles

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 ;)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions