1 parent f42a08d commit 5821a5dCopy full SHA for 5821a5d
1 file changed
src/statement.cc
@@ -86,8 +86,6 @@ NAN_METHOD(Statement::New) {
86
}
87
88
int length = info.Length();
89
- Nan::ThrowError(info[1]);
90
-
91
if (length <= 0 || !Database::HasInstance(info[0])) {
92
return Nan::ThrowTypeError("Database object expected");
93
0 commit comments