node-postgres icon indicating copy to clipboard operation
node-postgres copied to clipboard

Just curious, why methods are duplicated in result.js?

Open mihailssh opened this issue 6 years ago • 2 comments

packages/pg/lib/result.js

mihailssh avatar Jul 26 '20 14:07 mihailssh

@brianc That looks very wrong indeed. How did that happen?

update:

Commit that broke it was done on July 15th - Convert more things to ES6 classes.

vitaly-t avatar Jul 26 '20 14:07 vitaly-t

I’m surprised that it’s legal JavaScript and that the linter doesn’t catch it either.

charmander avatar Jul 26 '20 17:07 charmander