Skip to content

Conversation

@tarunbatra
Copy link
Contributor

Set the expected outcome of util.format('%%') to be %%
instead of %.

Fixes: #12362

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • documentation is changed or added
  • commit message follows commit guidelines
Affected core subsystem(s)

doc

@nodejs-github-botnodejs-github-bot added doc Issues and PRs related to the documentations. util Issues and PRs related to the built-in util module. labels Apr 12, 2017
@vsemozhetbyt
Copy link
Contributor

vsemozhetbyt commented Apr 12, 2017

Thank you for your contribution! Some nits:

  1. According to style guide, we usually wrap doc lines at 80 characters.
  2. In commit messages, we use full GitHub URLs with 'Fixes;' etc.

Copy link
Member

@TrottTrott left a comment

Choose a reason for hiding this comment

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

Doc change LGTM. Wrapping at 80 chars would be nice, although I wouldn't be surprised if there were other lines in the file that exceed 80 chars already...

@tarunbatra
Copy link
ContributorAuthor

@vsemozhetbyt@Trott thanx for pointing that out. I'll make the changes right away.

@tarunbatra
Copy link
ContributorAuthor

Done.

doc/api/util.md Outdated
Copy link
Contributor

Choose a reason for hiding this comment

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

Can you include a semicolon here please? We try to follow the same coding style as the actual codebase.

Copy link
ContributorAuthor

Choose a reason for hiding this comment

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

Makes sense. Changed that.

Set the expected outcome of `util.format('%%')` to be `%%` instead of `%`. Fixes: #12362
Copy link
Contributor

@aqrlnaqrln left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Contributor

@evanlucasevanlucas left a comment

Choose a reason for hiding this comment

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

Thanks!

@benjamingr
Copy link
Member

We include the pull request URL under PR-URL in the commit message. I have done this for you.

I've landed this in 78af0df - thanks for your contribution to Node :)

benjamingr pushed a commit that referenced this pull request Apr 13, 2017
Set the expected outcome of `util.format('%%')` to be `%%` instead of `%`. PR-URL: #12374Fixes: #12362 Reviewed-By: Benjamin Gruenbaum <[email protected]> Reviewed-By: Rich Trott <[email protected]> Reviewed-By: Refael Ackermann <[email protected]> Reviewed-By: Vse Mozhet Byt <[email protected]> Reviewed-By: Alexey Orlenko <[email protected]> Reviewed-By: Evan Lucas <[email protected]> Reviewed-By: Colin Ihrig <[email protected]>
evanlucas pushed a commit that referenced this pull request Apr 25, 2017
Set the expected outcome of `util.format('%%')` to be `%%` instead of `%`. PR-URL: #12374Fixes: #12362 Reviewed-By: Benjamin Gruenbaum <[email protected]> Reviewed-By: Rich Trott <[email protected]> Reviewed-By: Refael Ackermann <[email protected]> Reviewed-By: Vse Mozhet Byt <[email protected]> Reviewed-By: Alexey Orlenko <[email protected]> Reviewed-By: Evan Lucas <[email protected]> Reviewed-By: Colin Ihrig <[email protected]>
@evanlucasevanlucas mentioned this pull request May 1, 2017
evanlucas pushed a commit that referenced this pull request May 1, 2017
Set the expected outcome of `util.format('%%')` to be `%%` instead of `%`. PR-URL: #12374Fixes: #12362 Reviewed-By: Benjamin Gruenbaum <[email protected]> Reviewed-By: Rich Trott <[email protected]> Reviewed-By: Refael Ackermann <[email protected]> Reviewed-By: Vse Mozhet Byt <[email protected]> Reviewed-By: Alexey Orlenko <[email protected]> Reviewed-By: Evan Lucas <[email protected]> Reviewed-By: Colin Ihrig <[email protected]>
evanlucas pushed a commit that referenced this pull request May 2, 2017
Set the expected outcome of `util.format('%%')` to be `%%` instead of `%`. PR-URL: #12374Fixes: #12362 Reviewed-By: Benjamin Gruenbaum <[email protected]> Reviewed-By: Rich Trott <[email protected]> Reviewed-By: Refael Ackermann <[email protected]> Reviewed-By: Vse Mozhet Byt <[email protected]> Reviewed-By: Alexey Orlenko <[email protected]> Reviewed-By: Evan Lucas <[email protected]> Reviewed-By: Colin Ihrig <[email protected]>
MylesBorins pushed a commit that referenced this pull request May 15, 2017
Set the expected outcome of `util.format('%%')` to be `%%` instead of `%`. PR-URL: #12374Fixes: #12362 Reviewed-By: Benjamin Gruenbaum <[email protected]> Reviewed-By: Rich Trott <[email protected]> Reviewed-By: Refael Ackermann <[email protected]> Reviewed-By: Vse Mozhet Byt <[email protected]> Reviewed-By: Alexey Orlenko <[email protected]> Reviewed-By: Evan Lucas <[email protected]> Reviewed-By: Colin Ihrig <[email protected]>
MylesBorins pushed a commit that referenced this pull request May 18, 2017
Set the expected outcome of `util.format('%%')` to be `%%` instead of `%`. PR-URL: #12374Fixes: #12362 Reviewed-By: Benjamin Gruenbaum <[email protected]> Reviewed-By: Rich Trott <[email protected]> Reviewed-By: Refael Ackermann <[email protected]> Reviewed-By: Vse Mozhet Byt <[email protected]> Reviewed-By: Alexey Orlenko <[email protected]> Reviewed-By: Evan Lucas <[email protected]> Reviewed-By: Colin Ihrig <[email protected]>
@MylesBorinsMylesBorins mentioned this pull request May 23, 2017
andrew749 pushed a commit to michielbaird/node that referenced this pull request Jul 19, 2017
Set the expected outcome of `util.format('%%')` to be `%%` instead of `%`. PR-URL: nodejs/node#12374Fixes: nodejs/node#12362 Reviewed-By: Benjamin Gruenbaum <[email protected]> Reviewed-By: Rich Trott <[email protected]> Reviewed-By: Refael Ackermann <[email protected]> Reviewed-By: Vse Mozhet Byt <[email protected]> Reviewed-By: Alexey Orlenko <[email protected]> Reviewed-By: Evan Lucas <[email protected]> Reviewed-By: Colin Ihrig <[email protected]>
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docIssues and PRs related to the documentations.utilIssues and PRs related to the built-in util module.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

doc: confusing language in util.format() docs

11 participants

@tarunbatra@vsemozhetbyt@benjamingr@refack@evanlucas@Trott@lpinca@cjihrig@aqrln@MylesBorins@nodejs-github-bot