mirror of
https://github.com/openclaw/openclaw.git
synced 2026-06-07 22:22:53 +00:00
chore(lint): enable no-promise-executor-return
This commit is contained in:
@@ -36,7 +36,9 @@ type CronRunLogEntryResult = {
|
||||
};
|
||||
|
||||
function sleep(ms: number): Promise<void> {
|
||||
return new Promise((resolve) => setTimeout(resolve, ms));
|
||||
return new Promise((resolve) => {
|
||||
setTimeout(resolve, ms);
|
||||
});
|
||||
}
|
||||
|
||||
function parseCronRunWaitDuration(raw: unknown, label: string): number {
|
||||
|
||||
Reference in New Issue
Block a user