mirror of
https://github.com/nodejs/node.git
synced 2026-11-21 12:59:16 -05:00
src: remove duplicated code
PR-URL: https://github.com/nodejs/node/pull/32719 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Gerhard Stöbich <deb2001-github@yahoo.de> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Jiawen Geng <technicalcute@gmail.com>
This commit is contained in:
1 parent
4439009d65
commit
1c4b20546a
1 file changed
+1
-2
+1
-2
@@ -1040,8 +1040,7 @@ Maybe<int> SyncProcessRunner::CopyJsStringArray(Local<Value> js_value,
|
||||
js_array
|
||||
->Set(context,
|
||||
i,
|
||||
value->ToString(env()->isolate()->GetCurrentContext())
|
||||
.ToLocalChecked())
|
||||
string)
|
||||
.Check();
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user