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 e79f540 commit 11dd9a6Copy full SHA for 11dd9a6
lib/internal/inspector/inspect_repl.js
@@ -21,7 +21,8 @@
21
*/
22
23
// TODO(trott): enable ESLint
24
-/* eslint-disable */
+/* eslint-disable getter-return, no-restricted-syntax,
25
+ node-core/prefer-primordials */
26
27
'use strict';
28
const FS = require('fs');
@@ -375,10 +376,8 @@ function createRepl(inspector) {
375
376
377
[util.inspect.custom](depth, { stylize }) {
378
const { startTime, endTime } = this.data;
- return stylize(
379
- `[Profile ${endTime - startTime}${String.fromCharCode(956)}s]`,
380
- 'special'
381
- );
+ const MU = String.fromChar(956);
+ return stylize(`[Profile ${endTime - startTime}${MU}s]`, 'special');
382
}
383
384
save(filename = 'node.cpuprofile') {
0 commit comments