Skip to content

Commit

Permalink
this must be /js/internal/validators.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
cirospaciari committed Oct 16, 2024
1 parent f073518 commit 10d91a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/js/internal/validators.ts
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ function validateLinkHeaderValue(hints) {
hideFromStack(validateLinkHeaderValue);
// TODO: do it in NodeValidator.cpp
function validateObject(value, name) {
if (typeof value !== "object") throw ERR_INVALID_ARG_TYPE(name, "object", value);
if (typeof value !== "object") throw $ERR_INVALID_ARG_TYPE(name, "object", value);
}
hideFromStack(validateObject);

Expand Down

0 comments on commit 10d91a7

Please sign in to comment.