From 402f60826741c08ebc21b1bf85598d280cedc123 Mon Sep 17 00:00:00 2001 From: David OLIVIER Date: Tue, 12 Nov 2019 15:57:05 +0100 Subject: [PATCH] chore(v8_prof_processor): replace var with let PR-URL: https://github.com/nodejs/node/pull/30381 --- 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 a39fbf4743e76f..7a942d3225a2a9 100644 --- a/lib/internal/v8_prof_processor.js +++ b/lib/internal/v8_prof_processor.js @@ -18,7 +18,7 @@ const scriptFiles = [ 'internal/deps/v8/tools/SourceMap', 'internal/deps/v8/tools/tickprocessor-driver' ]; -var script = ''; +let script = ''; scriptFiles.forEach((s) => { script += internalBinding('natives')[s] + '\n';