Skip to content

Commit 5b0ad2a

Browse files
committed
src: remove duplicated code
1 parent 6ed912d commit 5b0ad2a

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/spawn_sync.cc

+1-2
Original file line numberDiff line numberDiff line change
@@ -1040,8 +1040,7 @@ Maybe<int> SyncProcessRunner::CopyJsStringArray(Local<Value> js_value,
10401040
js_array
10411041
->Set(context,
10421042
i,
1043-
value->ToString(env()->isolate()->GetCurrentContext())
1044-
.ToLocalChecked())
1043+
string)
10451044
.Check();
10461045
}
10471046

0 commit comments

Comments
 (0)