Skip to content

Commit 013cd1a

Browse files
committed
quic: use Check instead of FromJust in node_quic.cc
PR-URL: #33937 Reviewed-By: Tobias Nießen <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Anna Henningsen <[email protected]>
1 parent 326a79e commit 013cd1a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/quic/node_quic.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ void Initialize(Local<Object> target,
125125
#define SET_STATE_TYPEDARRAY(name, field) \
126126
target->Set(context, \
127127
FIXED_ONE_BYTE_STRING(isolate, (name)), \
128-
(field.GetJSArray())).FromJust()
128+
(field.GetJSArray())).Check()
129129
SET_STATE_TYPEDARRAY("sessionConfig", state->quicsessionconfig_buffer);
130130
SET_STATE_TYPEDARRAY("http3Config", state->http3config_buffer);
131131
#undef SET_STATE_TYPEDARRAY

0 commit comments

Comments
 (0)