Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit b884ea7

Browse filesBrowse files
Trotttargos
authored andcommitted
debugger: apply automatic lint fixes for _inspect.js
For issues that ESLint can fix automatically, fix them. PR-URL: #38411 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Darshan Sen <raisinten@gmail.com>
1 parent dce8d29 commit b884ea7
Copy full SHA for b884ea7

File tree

Expand file treeCollapse file tree

1 file changed

+3
-3
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+3
-3
lines changed
Open diff view settings
Collapse file

‎lib/internal/inspector/_inspect.js‎

Copy file name to clipboardExpand all lines: lib/internal/inspector/_inspect.js
+3-3Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -261,10 +261,10 @@ class NodeInspector {
261261

262262
print(text, appendNewline = false) {
263263
this.clearLine();
264-
this.stdout.write(appendNewline ? `${text}\n` : text);
264+
this.stdout.write(appendNewline ? `${text}\n` : text);
265265
}
266266

267-
#stdioBuffers = {stdout: '', stderr: ''};
267+
#stdioBuffers = { stdout: '', stderr: '' };
268268
childPrint(text, which) {
269269
const lines = (this.#stdioBuffers[which] + text)
270270
.split(/\r\n|\r|\n/g);
@@ -283,7 +283,7 @@ class NodeInspector {
283283
this.repl.displayPrompt(true);
284284
}
285285
}
286-
286+
287287
if (textToPrint.endsWith('Waiting for the debugger to disconnect...\n')) {
288288
this.killChild();
289289
}

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.