Skip to content

Commit

Permalink
src: remove duplicated code
Browse files Browse the repository at this point in the history
PR-URL: #32719
Reviewed-By: Anna Henningsen <[email protected]>
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: Gerhard Stöbich <[email protected]>
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Jiawen Geng <[email protected]>
  • Loading branch information
himself65 authored and targos committed Apr 12, 2020
1 parent 23e56ff commit ea17855
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/spawn_sync.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}

Expand Down

0 comments on commit ea17855

Please sign in to comment.