We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 01f82f0 commit 953173bCopy full SHA for 953173b
lib/internal/v8_prof_processor.js
@@ -25,5 +25,8 @@ if (process.platform === 'darwin') {
25
tickArguments.push('--windows');
26
}
27
tickArguments.push.apply(tickArguments, process.argv.slice(1));
28
-script = 'arguments = ' + JSON.stringify(tickArguments) + ';\n' + script;
+script = `(function() {
29
+ arguments = ${JSON.stringify(tickArguments)};
30
+ ${script}
31
+})()`;
32
eval(script);
0 commit comments