Skip to content

Commit b884ea7

Browse 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 <[email protected]> Reviewed-By: Michaël Zasso <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Darshan Sen <[email protected]>
1 parent dce8d29 commit b884ea7

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lib/internal/inspector/_inspect.js

+3-3
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)