Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@ajguerreror
Copy link

No description provided.

self.emit('file:rnto', status, {
fileFrom: self.filefrom,
fileTo: fileto,
error: err
Copy link
Contributor

Choose a reason for hiding this comment

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

I'd prefer an additional errorState: Boolean(err) like we have with the file:stor event, and error: (err || false) as a convenience to users to make property access (e.g. err.name, err.message) always safe.

Copy link
Author

Choose a reason for hiding this comment

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

Ok. Doing it. One extra question: Which are the most recent compatible node version for this project?

Copy link
Contributor

Choose a reason for hiding this comment

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

I've no idea but I expect it to work with all Node.js LTS versions.

@mk-pmb
Copy link
Contributor

mk-pmb commented Jun 23, 2020

Thanks! 👍

@pedroaugusto
Copy link

You're welcome. What is the merge policy? I see a bunch of old PR's not yet merged.

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.

3 participants