Fix no-promise-executor-return

This commit is contained in:
awsr
2026-04-18 16:00:39 -07:00
parent c69b3935e2
commit 909b049922
+1 -1
View File
@@ -1,5 +1,5 @@
async function sleep(ms) {
return new Promise((resolve) => setTimeout(resolve, ms)); // eslint-disable-line no-promise-executor-return
return new Promise((resolve) => { setTimeout(resolve, ms); });
}
function gradioApp() {