prepare to async: typos in error messages

This change extracts the grammar correction performed on the async branch,
anticipating them in a single commit. It cannot be folded with the previous
one, as it is not purely cosmetic.
This commit is contained in:
muxator 2019-02-15 22:52:53 +01:00
parent 9497ee734f
commit e841798314
6 changed files with 12 additions and 12 deletions

View file

@ -199,7 +199,7 @@ exports.createGroupIfNotExistsFor = function(groupMapper, callback)
{
// ensure mapper is optional
if (typeof groupMapper != "string") {
callback(new customError("groupMapper is no string", "apierror"));
callback(new customError("groupMapper is not a string", "apierror"));
return;
}