Skip to content

revise failure text #214

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

Merged
merged 1 commit into from
Mar 2, 2019
Merged

revise failure text #214

merged 1 commit into from
Mar 2, 2019

Conversation

Trott
Copy link
Member

@Trott Trott commented Feb 26, 2019

  • Correct spelling of occurred.
  • Capitalize first word.
  • Add punctuation.

* Correct spelling of _occurred_.
* Capitalize first word.
* Add punctuation.
@Trott
Copy link
Member Author

Trott commented Mar 1, 2019

/ping @nodejs/github-bot

@@ -109,7 +109,7 @@ function triggerBuildIfValid (options) {
triggerBuild(options, function onBuildTriggered (err, buildUrl) {
if (err) {
logger.error(err, 'Error while triggering Jenkins build')
return createPrComment(options, `@${options.author} sadly an error occured when I tried to trigger a build :(`)
return createPrComment(options, `@${options.author} Sadly, an error occurred when I tried to trigger a build. :(`)
Copy link
Contributor

Choose a reason for hiding this comment

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

nit: sadly is not the first word in the sentence, the hail is.

Copy link
Member Author

Choose a reason for hiding this comment

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

I think it's debatable whether that is part of the sentence or simply something put there to notify the right person/get their attention. I wouldn't write: "Refael sadly an error occurred." It would be "Refael, sadly an error occurred." Or "Refael: Sadly an error occurred." The lack of punctuation after the hail makes it seem to me more "correct" to say that it is not part of the sentence. But that's certainly only my opinion and others may surely disagree.
¯\(ツ)

If I had my druthers, it would probably be a colon: @example: Sadly, an error occurred. If that seems good to you, I'd be happy to do that.

@Trott Trott merged commit 91d36d9 into nodejs:master Mar 2, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants