Skip to content

Commit 891616c

Browse files
authored
Fix missing closing parenthesis in buffer check
1 parent 8970115 commit 891616c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/connection.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -656,7 +656,7 @@ NAN_METHOD(Connection::PutCopyData) {
656656

657657
Connection* self = NODE_THIS();
658658

659-
if (!node::Buffer::HasInstance(info[0]) {
659+
if (!node::Buffer::HasInstance(info[0])) {
660660
return Nan::ThrowTypeError("First argument must be a Buffer");
661661
}
662662

0 commit comments

Comments
 (0)