Browse Source

tools: change var to const in ./doc/addon-verify

PR-URL: https://github.com/nodejs/node/pull/13732
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Refael Ackermann <refack@gmail.com>
v6
Ruben Bridgewater 8 years ago
committed by Refael Ackermann
parent
commit
bce27c2cf3
No known key found for this signature in database GPG Key ID: CD704BD80FDDDB64
  1. 2
      tools/doc/addon-verify.js

2
tools/doc/addon-verify.js

@ -94,7 +94,7 @@ ${files[name].replace('Release', "' + common.buildType + '")}
fs.mkdir(dir, function() { fs.mkdir(dir, function() {
// Ignore errors // Ignore errors
var done = once(ondone); const done = once(ondone);
var waiting = files.length; var waiting = files.length;
files.forEach(function(file) { files.forEach(function(file) {
fs.writeFile(file.path, file.content, function(err) { fs.writeFile(file.path, file.content, function(err) {

Loading…
Cancel
Save