Skip to content

Commit 83b529f

Browse files
aduh95targos
authored andcommitted
debugger: add trailing commas in source files
PR-URL: #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>
1 parent 4df0084 commit 83b529f

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

lib/.eslintrc.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -275,7 +275,7 @@ overrides:
275275
- ./internal/child_process/*.js
276276
- ./internal/cli_table.js
277277
- ./internal/cluster/*.js
278-
- ./internal/debugger/inspect.js
278+
- ./internal/debugger/*.js
279279
- ./internal/events/*.js
280280
- ./internal/fixed_queue.js
281281
- ./internal/freelist.js

lib/internal/debugger/inspect_client.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ class Client extends EventEmitter {
182182
const {
183183
closed,
184184
payload: payloadBuffer,
185-
rest
185+
rest,
186186
} = decodeFrameHybi17(this._unprocessed);
187187
this._unprocessed = rest;
188188

lib/internal/debugger/inspect_repl.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ const SHORTCUTS = {
6767
setBreakpoint: 'sb',
6868
clearBreakpoint: 'cb',
6969
run: 'r',
70-
exec: 'p'
70+
exec: 'p',
7171
};
7272

7373
const HELP = StringPrototypeTrim(`
@@ -544,7 +544,7 @@ function createRepl(inspector) {
544544
ArrayPrototypeMap(this, (callFrame, idx) => {
545545
const {
546546
location: { scriptId, lineNumber, columnNumber },
547-
functionName
547+
functionName,
548548
} = callFrame;
549549
const name = functionName || '(anonymous)';
550550

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy