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 <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>
  • Loading branch information
AdriVanHoudt authored and Fishrock123 committed Oct 11, 2016
1 parent d4ad8d9 commit e8f1cf1
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 e8f1cf1

Please sign in to comment.