diff --git a/src/tty_wrap.cc b/src/tty_wrap.cc index dc9dc3514238bc..7b8a7ed227446d 100644 --- a/src/tty_wrap.cc +++ b/src/tty_wrap.cc @@ -114,7 +114,7 @@ void TTYWrap::GetWindowSize(const FunctionCallbackInfo& args) { int err = uv_tty_get_winsize(&wrap->handle_, &width, &height); if (err == 0) { - Local a = args[0].As(); + Local a = args[0].As(); a->Set(env->context(), 0, Integer::New(env->isolate(), width)).FromJust(); a->Set(env->context(), 1, Integer::New(env->isolate(), height)).FromJust(); }