Skip to content

Commit a40ff1f

Browse files
jakecastelliaduh95
authored andcommitted
url: fix constructor error message for URLPattern
PR-URL: #57482 Reviewed-By: Kohei Ueno <[email protected]> Reviewed-By: Antoine du Hamel <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Daeyeon Jeong <[email protected]> Reviewed-By: Xuguang Mei <[email protected]> Reviewed-By: Yagiz Nizipli <[email protected]> Reviewed-By: Zijian Liu <[email protected]> Reviewed-By: Jason Zhang <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Ulises Gascón <[email protected]>
1 parent db9c37f commit a40ff1f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/node_url_pattern.cc

+1-1
Original file line numberDiff line numberDiff line change
@@ -269,7 +269,7 @@ void URLPattern::New(const FunctionCallbackInfo<Value>& args) {
269269
options.has_value() ? &options.value() : nullptr);
270270

271271
if (!url_pattern) {
272-
THROW_ERR_INVALID_URL_PATTERN(env, "Failed to constuct URLPattern");
272+
THROW_ERR_INVALID_URL_PATTERN(env, "Failed to construct URLPattern");
273273
return;
274274
}
275275

0 commit comments

Comments
 (0)