Skip to content

Commit

Permalink
process: changed var to const in internal/process/promises
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
AdriVanHoudt authored and jasnell committed Sep 20, 2016
1 parent 0bfd103 commit d4bf5ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/internal/process/promises.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ function setupPromises(scheduleMicrotasks) {
}

function rejectionHandled(promise) {
var hasBeenNotified = hasBeenNotifiedProperty.get(promise);
const hasBeenNotified = hasBeenNotifiedProperty.get(promise);
if (hasBeenNotified !== undefined) {
hasBeenNotifiedProperty.delete(promise);
const uid = promiseToGuidProperty.get(promise);
Expand Down

0 comments on commit d4bf5ca

Please sign in to comment.