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/cli_table.js
|
||||
- ./internal/cluster/*.js
|
||||
- ./internal/debugger/inspect.js
|
||||
- ./internal/debugger/*.js
|
||||
- ./internal/events/*.js
|
||||
- ./internal/fixed_queue.js
|
||||
- ./internal/freelist.js
|
||||
|
@ -182,7 +182,7 @@ class Client extends EventEmitter {
|
||||
const {
|
||||
closed,
|
||||
payload: payloadBuffer,
|
||||
rest
|
||||
rest,
|
||||
} = decodeFrameHybi17(this._unprocessed);
|
||||
this._unprocessed = rest;
|
||||
|
||||
|
@ -67,7 +67,7 @@ const SHORTCUTS = {
|
||||
setBreakpoint: 'sb',
|
||||
clearBreakpoint: 'cb',
|
||||
run: 'r',
|
||||
exec: 'p'
|
||||
exec: 'p',
|
||||
};
|
||||
|
||||
const HELP = StringPrototypeTrim(`
|
||||
@ -544,7 +544,7 @@ function createRepl(inspector) {
|
||||
ArrayPrototypeMap(this, (callFrame, idx) => {
|
||||
const {
|
||||
location: { scriptId, lineNumber, columnNumber },
|
||||
functionName
|
||||
functionName,
|
||||
} = callFrame;
|
||||
const name = functionName || '(anonymous)';
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user