debugger: add trailing commas in source files
PR-URL: https://github.com/nodejs/node/pull/46714 Reviewed-By: Kohei Ueno <kohei.ueno119@gmail.com> Reviewed-By: Debadree Chatterjee <debadree333@gmail.com> Reviewed-By: Darshan Sen <raisinten@gmail.com> Reviewed-By: Moshe Atlow <moshe@atlow.co.il> Reviewed-By: James M Snell <jasnell@gmail.com>
This commit is contained in:
parent
f33ae81d84
commit
655b070d31
@ -275,7 +275,7 @@ overrides:
|
|||||||
- ./internal/child_process/*.js
|
- ./internal/child_process/*.js
|
||||||
- ./internal/cli_table.js
|
- ./internal/cli_table.js
|
||||||
- ./internal/cluster/*.js
|
- ./internal/cluster/*.js
|
||||||
- ./internal/debugger/inspect.js
|
- ./internal/debugger/*.js
|
||||||
- ./internal/events/*.js
|
- ./internal/events/*.js
|
||||||
- ./internal/fixed_queue.js
|
- ./internal/fixed_queue.js
|
||||||
- ./internal/freelist.js
|
- ./internal/freelist.js
|
||||||
|
@ -182,7 +182,7 @@ class Client extends EventEmitter {
|
|||||||
const {
|
const {
|
||||||
closed,
|
closed,
|
||||||
payload: payloadBuffer,
|
payload: payloadBuffer,
|
||||||
rest
|
rest,
|
||||||
} = decodeFrameHybi17(this._unprocessed);
|
} = decodeFrameHybi17(this._unprocessed);
|
||||||
this._unprocessed = rest;
|
this._unprocessed = rest;
|
||||||
|
|
||||||
|
@ -67,7 +67,7 @@ const SHORTCUTS = {
|
|||||||
setBreakpoint: 'sb',
|
setBreakpoint: 'sb',
|
||||||
clearBreakpoint: 'cb',
|
clearBreakpoint: 'cb',
|
||||||
run: 'r',
|
run: 'r',
|
||||||
exec: 'p'
|
exec: 'p',
|
||||||
};
|
};
|
||||||
|
|
||||||
const HELP = StringPrototypeTrim(`
|
const HELP = StringPrototypeTrim(`
|
||||||
@ -544,7 +544,7 @@ function createRepl(inspector) {
|
|||||||
ArrayPrototypeMap(this, (callFrame, idx) => {
|
ArrayPrototypeMap(this, (callFrame, idx) => {
|
||||||
const {
|
const {
|
||||||
location: { scriptId, lineNumber, columnNumber },
|
location: { scriptId, lineNumber, columnNumber },
|
||||||
functionName
|
functionName,
|
||||||
} = callFrame;
|
} = callFrame;
|
||||||
const name = functionName || '(anonymous)';
|
const name = functionName || '(anonymous)';
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user