Skip to content

Commit b11648a

Browse files
committed
Add periods to all errors.
1 parent ca191c1 commit b11648a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/robotjs.cc

+2-2
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ NAN_METHOD(moveMouse)
2525
NanScope();
2626
if (args.Length() < 2)
2727
{
28-
return NanThrowError("Invalid number of arguments");
28+
return NanThrowError("Invalid number of arguments.");
2929
}
3030
size_t x = args[0]->Int32Value();
3131
size_t y = args[1]->Int32Value();
@@ -41,7 +41,7 @@ NAN_METHOD(moveMouseSmooth)
4141
NanScope();
4242
if (args.Length() < 2)
4343
{
44-
return NanThrowError("Invalid number of arguments");
44+
return NanThrowError("Invalid number of arguments.");
4545
}
4646
size_t x = args[0]->Int32Value();
4747
size_t y = args[1]->Int32Value();

0 commit comments

Comments
 (0)