mirror of
https://github.com/vladmandic/automatic
synced 2026-09-07 21:40:46 +02:00
Fix no-promise-executor-return
This commit is contained in:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user