Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

src: add linebreak to --inspect message #7070

Closed

Conversation

nicolasromer
Copy link
Contributor

Checklist
  • the commit message follows commit guidelines
Affected core subsystem(s)

src

Description of change

Added a newline in --inspect message after "Debugger listening on port %d." to prevent an ugly line break in 80 column(default) terminal windows

@nodejs-github-bot nodejs-github-bot added the c++ Issues and PRs that require attention from people who are familiar with C++. label May 30, 2016
@@ -31,7 +31,7 @@ namespace {
const char DEVTOOLS_PATH[] = "/node";

void PrintDebuggerReadyMessage(int port) {
fprintf(stderr, "Debugger listening on port %d. "
fprintf(stderr, "Debugger listening on port %d. \n"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If there’s a line break here anyway, the preceding space might as well be removed, no?

@addaleax
Copy link
Member

addaleax commented May 30, 2016

LGTM, thanks! For reference, this fixes bug #7067; you can include a Fixes: https://github.com/nodejs/node/issues/7067 line in your commit message, but that can also be done when landing the commit. :-)

to prevent ugly line break in 80 column(default) terminal windows

Fixes: nodejs#7067
@nicolasromer
Copy link
Contributor Author

Aha, I was wondering how to link the issue to the pull request – I'll add that to the log. Might be useful to mention in the contributing doc.

@claudiorodriguez
Copy link
Contributor

claudiorodriguez commented May 31, 2016

LGTM, second commit will need to be fixed-up but I can do that while landing (also probably change the word "ugly" just to be extra safe with the CoC).

CI: https://ci.nodejs.org/job/node-test-pull-request/2876/

@claudiorodriguez
Copy link
Contributor

CI failure unrelated as far as I can see

@cjihrig
Copy link
Contributor

cjihrig commented Jun 1, 2016

LGTM

claudiorodriguez pushed a commit that referenced this pull request Jun 2, 2016
Add linebreak to inspector ready message to wrap properly in
80 column (default) terminal windows.

Fixes: #7067
PR-URL: #7070
Reviewed-By: Anna Henningsen <[email protected]>
Reviewed-By: Claudio Rodriguez <[email protected]>
Reviewed-By: Colin Ihrig <[email protected]>
@claudiorodriguez
Copy link
Contributor

Landed in 3549a5e

@MylesBorins MylesBorins added this to the 7.0.0 milestone Jun 14, 2016
@MylesBorins MylesBorins added inspector Issues and PRs related to the V8 inspector protocol dont-land-on-v6.x labels Jun 14, 2016
Fishrock123 pushed a commit that referenced this pull request Jul 5, 2016
Add linebreak to inspector ready message to wrap properly in
80 column (default) terminal windows.

Fixes: #7067
PR-URL: #7070
Reviewed-By: Anna Henningsen <[email protected]>
Reviewed-By: Claudio Rodriguez <[email protected]>
Reviewed-By: Colin Ihrig <[email protected]>
@Fishrock123 Fishrock123 mentioned this pull request Jul 5, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
c++ Issues and PRs that require attention from people who are familiar with C++. inspector Issues and PRs related to the V8 inspector protocol
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants