We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 34659f2 commit b5724a1Copy full SHA for b5724a1
lib/internal/inspector/inspect_repl.js
@@ -1,5 +1,6 @@
1
// TODO(trott): enable ESLint
2
-/* eslint-disable */
+/* eslint-disable getter-return, no-restricted-syntax,
3
+ node-core/prefer-primordials */
4
5
'use strict';
6
const FS = require('fs');
@@ -353,10 +354,8 @@ function createRepl(inspector) {
353
354
355
[util.inspect.custom](depth, { stylize }) {
356
const { startTime, endTime } = this.data;
- return stylize(
357
- `[Profile ${endTime - startTime}${String.fromCharCode(956)}s]`,
358
- 'special'
359
- );
+ const MU = String.fromChar(956);
+ return stylize(`[Profile ${endTime - startTime}${MU}s]`, 'special');
360
}
361
362
save(filename = 'node.cpuprofile') {
0 commit comments