From 3ddc9dba7e20196cd46e5faf2a74f937c376c95a 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 95b6254599..105ca30b12 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') {