From 2c255845f1b3692d3df7e573fb403a3123f25961 Mon Sep 17 00:00:00 2001 From: Adri Van Houdt Date: Sat, 17 Sep 2016 12:54:34 +0200 Subject: [PATCH] process: changed var to const in internal/v8_prof_processor PR-URL: https://github.com/nodejs/node/pull/8619 Reviewed-By: James M Snell Reviewed-By: Anna Henningsen Reviewed-By: Ilkka Myller Reviewed-By: Colin Ihrig --- lib/internal/v8_prof_processor.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/internal/v8_prof_processor.js b/lib/internal/v8_prof_processor.js index 95b6254599a887..105ca30b12b705 100644 --- a/lib/internal/v8_prof_processor.js +++ b/lib/internal/v8_prof_processor.js @@ -18,7 +18,7 @@ scriptFiles.forEach(function(s) { script += process.binding('natives')[s] + '\n'; }); -var tickArguments = []; +const tickArguments = []; if (process.platform === 'darwin') { tickArguments.push('--mac'); } else if (process.platform === 'win32') {