Browse Source

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>
v6
Adri Van Houdt 8 years ago
committed by James M Snell
parent
commit
3ddc9dba7e
  1. 2
      lib/internal/v8_prof_processor.js

2
lib/internal/v8_prof_processor.js

@ -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…
Cancel
Save