Skip to content

Commit

Permalink
Add periods to all errors.
Browse files Browse the repository at this point in the history
  • Loading branch information
octalmage committed Feb 4, 2015
1 parent ca191c1 commit b11648a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/robotjs.cc
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ NAN_METHOD(moveMouse)
NanScope();
if (args.Length() < 2)
{
return NanThrowError("Invalid number of arguments");
return NanThrowError("Invalid number of arguments.");
}
size_t x = args[0]->Int32Value();
size_t y = args[1]->Int32Value();
Expand All @@ -41,7 +41,7 @@ NAN_METHOD(moveMouseSmooth)
NanScope();
if (args.Length() < 2)
{
return NanThrowError("Invalid number of arguments");
return NanThrowError("Invalid number of arguments.");
}
size_t x = args[0]->Int32Value();
size_t y = args[1]->Int32Value();
Expand Down

0 comments on commit b11648a

Please sign in to comment.