From 694cf0cfd08a7e072f2d1db190e9a9ee0a29e6f8 Mon Sep 17 00:00:00 2001 From: Michael Dawson Date: Mon, 4 Dec 2023 17:46:49 +0000 Subject: [PATCH] squash: address linter complaints Signed-off-by: Michael Dawson --- src/node_internals.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/node_internals.h b/src/node_internals.h index f89b60a4a8835a..25808aad44aaf3 100644 --- a/src/node_internals.h +++ b/src/node_internals.h @@ -194,8 +194,9 @@ static v8::MaybeLocal New(Environment* env, ret = New(env, src, len_in_bytes); // new always takes ownership of src buf->Release(); - } else if (!buf->IsInvalidated()) + } else if (!buf->IsInvalidated()) { ret = Copy(env, src, len_in_bytes); + } return ret; }