Skip to content

Commit d9d722e

Browse files
Update node_sqlite.cc
Co-authored-by: Anna Henningsen <github@addaleax.net>
1 parent 96f1410 commit d9d722e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/node_sqlite.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1317,7 +1317,7 @@ void DatabaseSync::New(const FunctionCallbackInfo<Value>& args) {
13171317
std::string msg = "The \"options.limits." +
13181318
std::string(kLimitMapping[i].js_name) +
13191319
"\" argument must be an integer.";
1320-
THROW_ERR_INVALID_ARG_TYPE(env->isolate(), msg.c_str());
1320+
THROW_ERR_INVALID_ARG_TYPE(env->isolate(), msg);
13211321
return;
13221322
}
13231323

0 commit comments

Comments
 (0)