Commit fc59da5 1 parent f6abec3 commit fc59da5 Copy full SHA for fc59da5
File tree 2 files changed +10
-9
lines changed
2 files changed +10
-9
lines changed Original file line number Diff line number Diff line change @@ -48,11 +48,13 @@ module.exports = (queue) => async (context) => {
48
48
49
49
return (
50
50
queue
51
- . createJob ( {
52
- ...context . pullRequest ( { installation_id : context . payload . installation . id } ) ,
53
- action : MERGE ,
54
- method,
55
- } )
51
+ . createJob (
52
+ context . pullRequest ( {
53
+ installation_id : context . payload . installation . id ,
54
+ action : MERGE ,
55
+ method,
56
+ } )
57
+ )
56
58
. setId ( ID )
57
59
// https://github.com/reporanger/feedback/issues/1
58
60
. delayUntil ( Date . now ( ) + PULL_REQUEST_MERGE_DELAY )
Original file line number Diff line number Diff line change @@ -17,10 +17,9 @@ module.exports = (queue) => async (context) => {
17
17
return executeAction ( action , {
18
18
[ LOCK ] : ( ) => {
19
19
return queue
20
- . createJob ( {
21
- ...context . issue ( { installation_id : context . payload . installation . id } ) ,
22
- action : LOCK ,
23
- } )
20
+ . createJob (
21
+ context . issue ( { installation_id : context . payload . installation . id , action : LOCK } )
22
+ )
24
23
. setId ( getId ( context , { action : LOCK } ) )
25
24
. delayUntil ( Date . now ( ) + ms ( delay ) )
26
25
. save ( )
You can’t perform that action at this time.
0 commit comments