mirror of
https://github.com/openclaw/openclaw.git
synced 2026-06-05 09:42:54 +00:00
chore(lint): enable no-promise-executor-return
This commit is contained in:
@@ -667,7 +667,10 @@ const parsePositiveIntegerEnv = (env, name, fallback) => {
|
||||
return Number.isInteger(parsed) && parsed > 0 ? parsed : fallback;
|
||||
};
|
||||
|
||||
const sleep = (ms) => new Promise((resolve) => setTimeout(resolve, ms));
|
||||
const sleep = (ms) =>
|
||||
new Promise((resolve) => {
|
||||
setTimeout(resolve, ms);
|
||||
});
|
||||
|
||||
const resolveRunNodeOutputLogPath = (deps) => {
|
||||
const outputLog = deps.env[RUN_NODE_OUTPUT_LOG_ENV]?.trim();
|
||||
|
||||
Reference in New Issue
Block a user