Skip to content

Commit 955e430

Browse files
committed
PR Feedback
1 parent 4938d3b commit 955e430

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

scripts/new-version-pr-generator.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,8 @@ The automatic branch creation for ${repository} failed. This can be due to many
113113
mkdir(sandbox);
114114

115115
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
117118
// eslint-disable-next-line no-async-promise-executor
118119
return new Promise(async (resolve, reject) => {
119120
try {

scripts/utilities/retry.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@ function sleep(ms) {
33
}
44

55
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
78
// eslint-disable-next-line no-async-promise-executor
89
return new Promise(async (resolve, reject) => {
910
let remainingAttempts = maxAttempts;

0 commit comments

Comments
 (0)