Skip to content

Commit

Permalink
src: remove unused namespace
Browse files Browse the repository at this point in the history
PR-URL: #26318
Reviewed-By: Anna Henningsen <[email protected]>
Reviewed-By: Michaël Zasso <[email protected]>
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: Matteo Collina <[email protected]>
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Luigi Pinca <[email protected]>
Reviewed-By: Ruben Bridgewater <[email protected]>
  • Loading branch information
aymen94 authored and BridgeAR committed Mar 12, 2019
1 parent 142a92f commit da457a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tty_wrap.cc
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ void TTYWrap::GetWindowSize(const FunctionCallbackInfo<Value>& args) {
int err = uv_tty_get_winsize(&wrap->handle_, &width, &height);

if (err == 0) {
Local<v8::Array> a = args[0].As<Array>();
Local<Array> a = args[0].As<Array>();
a->Set(env->context(), 0, Integer::New(env->isolate(), width)).FromJust();
a->Set(env->context(), 1, Integer::New(env->isolate(), height)).FromJust();
}
Expand Down

0 comments on commit da457a5

Please sign in to comment.