Skip to content

Commit e8f1cf1

Browse files
AdriVanHoudtFishrock123
authored andcommitted
process: changed var to const in internal/process/promises
PR-URL: #8620 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Jackson Tian <shvyo1987@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Ilkka Myller <ilkka.myller@nodefield.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
1 parent d4ad8d9 commit e8f1cf1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/internal/process/promises.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ function setupPromises(scheduleMicrotasks) {
2525
}
2626

2727
function rejectionHandled(promise) {
28-
var hasBeenNotified = hasBeenNotifiedProperty.get(promise);
28+
const hasBeenNotified = hasBeenNotifiedProperty.get(promise);
2929
if (hasBeenNotified !== undefined) {
3030
hasBeenNotifiedProperty.delete(promise);
3131
const uid = promiseToGuidProperty.get(promise);

0 commit comments

Comments
 (0)