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
113
113
mkdir ( sandbox ) ;
114
114
115
115
const 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
117
118
// eslint-disable-next-line no-async-promise-executor
118
119
return new Promise ( async ( resolve , reject ) => {
119
120
try {
Original file line number Diff line number Diff line change @@ -3,7 +3,8 @@ function sleep(ms) {
3
3
}
4
4
5
5
function 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
7
8
// eslint-disable-next-line no-async-promise-executor
8
9
return new Promise ( async ( resolve , reject ) => {
9
10
let remainingAttempts = maxAttempts ;
You can’t perform that action at this time.
0 commit comments