fix: address code review feedback — spacing and log prefix consistency
Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
This commit is contained in:
parent
414c9b334f
commit
ec2ef4313f
|
|
@ -272,7 +272,7 @@ function phaseSleep(soul, loopResult) {
|
||||||
records.push(sleepRecord);
|
records.push(sleepRecord);
|
||||||
fs.writeFileSync(recordPath, JSON.stringify(records, null, 2));
|
fs.writeFileSync(recordPath, JSON.stringify(records, null, 2));
|
||||||
|
|
||||||
console.log(`[OPENCLAW] 💤 ${soul.name}核心大脑进入休眠`);
|
console.log(`[OPENCLAW] 💤 ${soul.name} 核心大脑进入休眠`);
|
||||||
console.log(`[OPENCLAW] 📋 闭环记录已写入: ${recordPath}`);
|
console.log(`[OPENCLAW] 📋 闭环记录已写入: ${recordPath}`);
|
||||||
|
|
||||||
// 输出到 GITHUB_OUTPUT
|
// 输出到 GITHUB_OUTPUT
|
||||||
|
|
|
||||||
|
|
@ -191,7 +191,7 @@ async function verifyLoop(live) {
|
||||||
|
|
||||||
return result;
|
return result;
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
console.log(`❌ 闭环验证异常: ${err.message}`);
|
console.log(`[VERIFY] ❌ 闭环验证异常: ${err.message}`);
|
||||||
return { success: false, error: err.message };
|
return { success: false, error: err.message };
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue