Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 2 additions & 5 deletions lib/internal/debugger/inspect_repl.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
// TODO(trott): enable ESLint
/* eslint-disable getter-return */

'use strict';

const {
Expand Down Expand Up @@ -899,7 +896,7 @@ function createRepl(inspector) {

copyOwnProperties(context, {
get help() {
print(HELP);
return print(HELP);
},

get run() {
Expand Down Expand Up @@ -1078,7 +1075,7 @@ function createRepl(inspector) {
repl.setPrompt('> ');

print('Press Ctrl+C to leave debug repl');
repl.displayPrompt();
return repl.displayPrompt();
},

get version() {
Expand Down