@@ -69,14 +69,14 @@ module.exports = async (context, req) => {
6969 if ( alreadyOpenedPR . length > 0 ) {
7070 ( { html_url : commentURL , id : commentId } =
7171 await appendToIssueComment (
72- context ,
73- await getToken ( ) ,
74- owner ,
75- repo ,
76- commentId ,
77- `${
78- packageType ? `${ packageType } ` : ""
79- } PR [already exists](${ alreadyOpenedPR [ 0 ] . html_url } )`
72+ context ,
73+ await getToken ( ) ,
74+ owner ,
75+ repo ,
76+ commentId ,
77+ `${
78+ packageType ? `${ packageType } ` : ""
79+ } PR [already exists](${ alreadyOpenedPR [ 0 ] . html_url } )`
8080 ) ) ;
8181 return
8282 }
@@ -111,14 +111,14 @@ module.exports = async (context, req) => {
111111 || ! req . body . issue . pull_request
112112 || ! [ 'build-extra' , 'MINGW-packages' , 'MSYS2-packages' ] . includes ( repo ) ) {
113113 return `Ignoring ${ command } in unexpected repo: ${ commentURL } `
114- }
114+ }
115115
116116 await checkPermissions ( )
117117
118118 const { guessComponentUpdateDetails, isMSYSPackage } = require ( './component-updates' )
119119 const { package_name } = deployMatch [ 2 ]
120- ? { package_name : deployMatch [ 2 ] }
121- : guessComponentUpdateDetails ( req . body . issue . title , req . body . issue . body )
120+ ? { package_name : deployMatch [ 2 ] }
121+ : guessComponentUpdateDetails ( req . body . issue . title , req . body . issue . body )
122122
123123 // The commit hash of the tip commit is sadly not part of the
124124 // "comment.created" webhook's payload. Therefore, we have to get it
@@ -238,9 +238,9 @@ module.exports = async (context, req) => {
238238 if ( owner !== 'git-for-windows'
239239 || repo !== 'git'
240240 || ! req . body . issue . pull_request
241- ) {
241+ ) {
242242 return `Ignoring ${ command } in unexpected repo: ${ commentURL } `
243- }
243+ }
244244
245245 await checkPermissions ( )
246246 await thumbsUp ( )
@@ -255,11 +255,11 @@ module.exports = async (context, req) => {
255255
256256 if ( command == '/release' ) {
257257 if ( owner !== 'git-for-windows'
258- || repo !== 'git'
259- || ! req . body . issue . pull_request
260- ) {
258+ || repo !== 'git'
259+ || ! req . body . issue . pull_request
260+ ) {
261261 return `Ignoring ${ command } in unexpected repo: ${ commentURL } `
262- }
262+ }
263263
264264 await checkPermissions ( )
265265 await thumbsUp ( )
@@ -277,7 +277,7 @@ module.exports = async (context, req) => {
277277 if ( owner !== 'git-for-windows'
278278 || ! [ 'git' , 'build-extra' , 'MINGW-packages' , 'MSYS2-packages' ] . includes ( repo ) ) {
279279 return `Ignoring ${ command } in unexpected repo: ${ commentURL } `
280- }
280+ }
281281
282282 await checkPermissions ( )
283283
0 commit comments