src: remove unused namespace

PR-URL: https://github.com/nodejs/node/pull/26318
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
This commit is contained in:
Aymen Naghmouchi 2019-02-26 11:53:30 +01:00 committed by Ruben Bridgewater
parent 038a1a489d
commit f18ae25193
No known key found for this signature in database
GPG Key ID: F07496B3EB3C1762

View File

@ -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();
}