mirror of
https://github.com/YuJunZhiXue/dsh-purge.git
synced 2026-11-28 04:00:22 +08:00
fix: 发布 1.1.43,没定位到宿主时不再把补丁全部显示成跳过。
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
1 parent
9ab3b0fb9a
commit
3cede10253
4 files changed
+69
-13
No files matched your search
@@ -97,6 +97,8 @@ const memo = {
|
||||
function remember(slot, compute) {
|
||||
if (memo[slot].ready) return memo[slot].value;
|
||||
const value = compute();
|
||||
// 启动早期可能还看不到宿主目录。空结果不缓存,否则整次进程都是 0/52、每条跳过。
|
||||
if (slot === "ai" && !value) return value;
|
||||
memo[slot] = { ready: true, value };
|
||||
return value;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user