File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -185,7 +185,7 @@ class PRChecker {
185185 const dateStr = new Date ( pr . createdAt ) . toDateString ( ) ;
186186 const type = wait . isWeekend ? 'weekend' : 'weekday' ;
187187 cli . info ( `This PR was created on ${ dateStr } (${ type } in UTC)` ) ;
188- cli . warn ( `${ wait . timeLeft } hours left to land ` ) ;
188+ cli . warn ( `Wait at least ${ wait . timeLeft } more hours before landing ` ) ;
189189 return false ;
190190 }
191191
Original file line number Diff line number Diff line change @@ -169,7 +169,7 @@ describe('PRChecker', () => {
169169 const cli = new TestCLI ( ) ;
170170
171171 const expectedLogs = {
172- warn : [ [ '49 hours left to land ' ] ] ,
172+ warn : [ [ 'Wait at least 49 more hours before landing ' ] ] ,
173173 info : [ [ 'This PR was created on Sat Oct 28 2017 (weekend in UTC)' ] ]
174174 } ;
175175
@@ -201,7 +201,7 @@ describe('PRChecker', () => {
201201 const cli = new TestCLI ( ) ;
202202
203203 const expectedLogs = {
204- warn : [ [ '22 hours left to land ' ] ] ,
204+ warn : [ [ 'Wait at least 22 more hours before landing ' ] ] ,
205205 info : [ [ 'This PR was created on Tue Oct 31 2017 (weekday in UTC)' ] ]
206206 } ;
207207
You can’t perform that action at this time.
0 commit comments