Skip to content
This repository has been archived by the owner on Feb 1, 2022. It is now read-only.

chore: align message with Node.js standard #89

Merged
merged 1 commit into from
Sep 21, 2020
Merged
Show file tree
Hide file tree
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
4 changes: 2 additions & 2 deletions lib/internal/inspect_repl.js
Original file line number Diff line number Diff line change
Expand Up @@ -1023,7 +1023,7 @@ function createRepl(inspector) {

repl.setPrompt('> ');

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

Expand Down Expand Up @@ -1095,7 +1095,7 @@ function createRepl(inspector) {
repl.on('reset', initializeContext);

repl.defineCommand('interrupt', () => {
// We want this for testing purposes where sending CTRL-C can be tricky.
// We want this for testing purposes where sending Ctrl+C can be tricky.
repl.emit('SIGINT');
});

Expand Down
2 changes: 1 addition & 1 deletion test/cli/exec.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ test('examples/alive.js', (t) => {
.then(() => {
t.match(
cli.output,
'Press Ctrl + C to leave debug repl\n> ',
'Press Ctrl+C to leave debug repl\n> ',
'shows hint for how to leave repl');
t.notMatch(cli.output, 'debug>', 'changes the repl style');
})
Expand Down