From bce27c2cf37ed96abecd7625ff1d22c72c3b99c8 Mon Sep 17 00:00:00 2001 From: Ruben Bridgewater Date: Mon, 19 Jun 2017 17:54:56 +0200 Subject: [PATCH] tools: change var to const in ./doc/addon-verify PR-URL: https://github.com/nodejs/node/pull/13732 Reviewed-By: Colin Ihrig Reviewed-By: Refael Ackermann --- tools/doc/addon-verify.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/doc/addon-verify.js b/tools/doc/addon-verify.js index 86a8193589..e480a0d1be 100644 --- a/tools/doc/addon-verify.js +++ b/tools/doc/addon-verify.js @@ -94,7 +94,7 @@ ${files[name].replace('Release', "' + common.buildType + '")} fs.mkdir(dir, function() { // Ignore errors - var done = once(ondone); + const done = once(ondone); var waiting = files.length; files.forEach(function(file) { fs.writeFile(file.path, file.content, function(err) {