process: changed var to const in internal/v8_prof_processor
PR-URL: https://github.com/nodejs/node/pull/8619 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Ilkka Myller <ilkka.myller@nodefield.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
This commit is contained in:
parent
0a9f56a827
commit
3ddc9dba7e
@ -18,7 +18,7 @@ scriptFiles.forEach(function(s) {
|
|||||||
script += process.binding('natives')[s] + '\n';
|
script += process.binding('natives')[s] + '\n';
|
||||||
});
|
});
|
||||||
|
|
||||||
var tickArguments = [];
|
const tickArguments = [];
|
||||||
if (process.platform === 'darwin') {
|
if (process.platform === 'darwin') {
|
||||||
tickArguments.push('--mac');
|
tickArguments.push('--mac');
|
||||||
} else if (process.platform === 'win32') {
|
} else if (process.platform === 'win32') {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user