From b489b13ce90f3eb3d7a942e7f94a26cb468f0c01 Mon Sep 17 00:00:00 2001 From: Deokjin Kim Date: Sun, 1 Jan 2023 19:57:48 +0900 Subject: [PATCH] events: fix violation of symbol naming convention Capital letter is followed after 'k' prefix. PR-URL: https://github.com/nodejs/node/pull/45978 Reviewed-By: Anna Henningsen Reviewed-By: Luigi Pinca Reviewed-By: Colin Ihrig Reviewed-By: Minwoo Jung --- lib/internal/event_target.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/internal/event_target.js b/lib/internal/event_target.js index 6c4841dd5104f0..733636b5d7ae07 100644 --- a/lib/internal/event_target.js +++ b/lib/internal/event_target.js @@ -56,7 +56,7 @@ const kEvents = Symbol('kEvents'); const kIsBeingDispatched = Symbol('kIsBeingDispatched'); const kStop = Symbol('kStop'); const kTarget = Symbol('kTarget'); -const kHandlers = Symbol('khandlers'); +const kHandlers = Symbol('kHandlers'); const kWeakHandler = Symbol('kWeak'); const kHybridDispatch = SymbolFor('nodejs.internal.kHybridDispatch');