From a5c338621cc37f1911c936a6e9193fb2fdec1403 Mon Sep 17 00:00:00 2001 From: Rich Trott Date: Sat, 26 Mar 2022 10:10:58 -0700 Subject: [PATCH 1/2] doc: remove comma splice in events.md --- doc/api/events.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/api/events.md b/doc/api/events.md index 603c2407380c6b..790e600439eea2 100644 --- a/doc/api/events.md +++ b/doc/api/events.md @@ -830,7 +830,7 @@ events. Listeners installed using this symbol are called before the regular `'error'` listeners are called. Installing a listener using this symbol does not change the behavior once an -`'error'` event is emitted, therefore the process will still crash if no +`'error'` event is emitted. Therefore the process will still crash if no regular `'error'` listener is installed. ## `events.getEventListeners(emitterOrTarget, eventName)` From 3fc5438e5e111f406f45c5d5911c0d5acc33116e Mon Sep 17 00:00:00 2001 From: Rich Trott Date: Sun, 27 Mar 2022 06:44:03 -0700 Subject: [PATCH 2/2] Update doc/api/events.md Co-authored-by: Darshan Sen --- doc/api/events.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/api/events.md b/doc/api/events.md index 790e600439eea2..2fd0a4287285fc 100644 --- a/doc/api/events.md +++ b/doc/api/events.md @@ -830,7 +830,7 @@ events. Listeners installed using this symbol are called before the regular `'error'` listeners are called. Installing a listener using this symbol does not change the behavior once an -`'error'` event is emitted. Therefore the process will still crash if no +`'error'` event is emitted. Therefore, the process will still crash if no regular `'error'` listener is installed. ## `events.getEventListeners(emitterOrTarget, eventName)`