-
Notifications
You must be signed in to change notification settings - Fork 29.8k
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
Conversation
@@ -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" |
There was a problem hiding this comment.
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?
LGTM, thanks! For reference, this fixes bug #7067; you can include a |
to prevent ugly line break in 80 column(default) terminal windows Fixes: nodejs#7067
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. |
da38af3
to
79e073e
Compare
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 failure unrelated as far as I can see |
LGTM |
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]>
Landed in 3549a5e |
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]>
Checklist
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