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

Skip to content

Conversation

@Uzlopak
Copy link
Contributor

@Uzlopak Uzlopak commented Aug 15, 2023

small change...

Checklist

this._error = err
}
})
current.enqueue(obj, (err) => { err && (this._error = err) })
Copy link
Member

Choose a reason for hiding this comment

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

I believe splitting into three lines is better for git diff or future changes.

Suggested change
current.enqueue(obj, (err) => { err && (this._error = err) })
current.enqueue(obj, (err) => {
err && (this._error = err)
})

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I kind of doubt that this will be changed ever. But for debugging maybe it is better.

Copy link
Member

@Eomm Eomm left a comment

Choose a reason for hiding this comment

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

Do we need a PR for this?

it seems trivial to include to one of the others IMHO

@Uzlopak Uzlopak merged commit 7f17963 into master Aug 15, 2023
@Uzlopak Uzlopak deleted the simplify-callback branch August 15, 2023 14:06
@Fdawgs
Copy link
Member

Fdawgs commented Aug 15, 2023

CI is an unhappy boy with this change ☹️

@Uzlopak Uzlopak mentioned this pull request Aug 15, 2023
4 tasks
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.

4 participants