-
Notifications
You must be signed in to change notification settings - Fork 114
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
Update pr_checker.js #287
Conversation
failed because of tests… |
Codecov Report
@@ Coverage Diff @@
## master #287 +/- ##
=======================================
Coverage 74.03% 74.03%
=======================================
Files 22 22
Lines 1406 1406
=======================================
Hits 1041 1041
Misses 365 365
Continue to review full report at Codecov.
|
lib/pr_checker.js
Outdated
@@ -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`); |
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.
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!"
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.
Clarify that the wait time is a minimum not a maximum. Also see #131