mirror of
https://github.com/nodejs/node.git
synced 2026-11-27 17:52:27 -05:00
profiler: declare missing printErr
`v8/tools/tickprocessor.js` assumes presence of global `printErr`, which is defined in `d8`. PR-URL: https://github.com/nodejs/node/pull/13590 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Refael Ackermann <refack@gmail.com> Reviewed-By: Tobias Nießen <tniessen@tnie.de>
This commit is contained in:
1 parent
9fa70069b3
commit
c97b167f47
1 file changed
+5
@@ -18,6 +18,11 @@ scriptFiles.forEach(function(s) {
|
||||
script += process.binding('natives')[s] + '\n';
|
||||
});
|
||||
|
||||
// eslint-disable-next-line no-unused-vars
|
||||
function printErr(err) {
|
||||
console.error(err);
|
||||
}
|
||||
|
||||
const tickArguments = [];
|
||||
if (process.platform === 'darwin') {
|
||||
tickArguments.push('--mac');
|
||||
|
||||
Reference in new issue
Block a user