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

Update pr_checker.js #287

Merged
merged 1 commit into from
Oct 5, 2018
Merged

Update pr_checker.js #287

merged 1 commit into from
Oct 5, 2018

Conversation

srl295
Copy link
Member

@srl295 srl295 commented Oct 5, 2018

Clarify that the wait time is a minimum not a maximum. Also see #131

@srl295
Copy link
Member Author

srl295 commented Oct 5, 2018

failed because of tests… 

@codecov
Copy link

codecov bot commented Oct 5, 2018

Codecov Report

Merging #287 into master will not change coverage.
The diff coverage is 100%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #287   +/-   ##
=======================================
  Coverage   74.03%   74.03%           
=======================================
  Files          22       22           
  Lines        1406     1406           
=======================================
  Hits         1041     1041           
  Misses        365      365
Impacted Files Coverage Δ
lib/pr_checker.js 98.39% <100%> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 38fbb3e...16b5776. Read the comment docs.

@@ -185,7 +185,7 @@ class PRChecker {
const dateStr = new Date(pr.createdAt).toDateString();
const type = wait.isWeekend ? 'weekend' : 'weekday';
cli.info(`This PR was created on ${dateStr} (${type} in UTC)`);
cli.warn(`${wait.timeLeft} hours left to land`);
cli.warn(`Wait at least ${wait.timeLeft} hours before landing`);
Copy link
Member

Choose a reason for hiding this comment

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

Optional nit: Maybe to avoid more confusion make it "Wait at least N more hours before landing"? So that someone doesn't see that it says to wait 4 hours before landing, look at their PR and think "it's been open for two days, I can land it now because I waited 4 hours!"

Copy link
Member Author

@srl295 srl295 Oct 5, 2018

Choose a reason for hiding this comment

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

srl295 added a commit to srl295/node-core-utils that referenced this pull request Oct 5, 2018
@joyeecheung joyeecheung merged commit e11cdc8 into nodejs:master Oct 5, 2018
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.

5 participants