Skip to content

Commit eaa3692

Browse files
committed
lib: fix a comment typo in events
1 parent f3e6cd0 commit eaa3692

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/events.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@ function emitUnhandledRejectionOrErr(ee, err, type, args) {
242242
// we might end up in an infinite loop.
243243
const prev = ee[kCapture];
244244

245-
// If the error handler throws, it is not catcheable and it
245+
// If the error handler throws, it is not catchable and it
246246
// will end up in 'uncaughtException'. We restore the previous
247247
// value of kCapture in case the uncaughtException is present
248248
// and the exception is handled.

0 commit comments

Comments
 (0)