File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -113,7 +113,8 @@ The automatic branch creation for ${repository} failed. This can be due to many
113113mkdir ( sandbox ) ;
114114
115115const jobs = repositories . map ( ( repository ) => {
116- // We should fix this but I've not got the time at the moment
116+ // TODO work out how to keep eslint happy
117+ // SEE https://eslint.org/docs/rules/no-async-promise-executor
117118 // eslint-disable-next-line no-async-promise-executor
118119 return new Promise ( async ( resolve , reject ) => {
119120 try {
Original file line number Diff line number Diff line change @@ -3,7 +3,8 @@ function sleep(ms) {
33}
44
55function retry ( functionToTry , maxAttempts = 3 , delay = 1000 ) {
6- // We should fix this but I've not got the time at the moment
6+ // TODO work out how to keep eslint happy
7+ // SEE https://eslint.org/docs/rules/no-async-promise-executor
78 // eslint-disable-next-line no-async-promise-executor
89 return new Promise ( async ( resolve , reject ) => {
910 let remainingAttempts = maxAttempts ;
You can’t perform that action at this time.
0 commit comments