Skip to content

Commit d4bf5ca

Browse files
AdriVanHoudtjasnell
authored andcommitted
process: changed var to const in internal/process/promises
PR-URL: #8620 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Jackson Tian <[email protected]> Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Ilkka Myller <[email protected]> Reviewed-By: Colin Ihrig <[email protected]>
1 parent 0bfd103 commit d4bf5ca

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)