mirror of
https://github.com/fluencelabs/fluence-js.git
synced 2024-12-05 02:10:18 +00:00
Small fix
This commit is contained in:
parent
56620ab6fa
commit
f20f02bf98
@ -88,7 +88,7 @@ function isScalar(
|
||||
throw new SchemaValidationError(path, schema, "string", arg);
|
||||
}
|
||||
} else {
|
||||
throw new SchemaValidationError(path, schema, "never", arg);
|
||||
throw new SchemaValidationError(path, schema, schema.name, arg);
|
||||
}
|
||||
|
||||
return arg;
|
||||
|
Loading…
Reference in New Issue
Block a user