style: format Claude usage cache migration guard
This commit is contained in:
@@ -133,7 +133,12 @@ async function fetchUsageForToken(
|
||||
cached = entry;
|
||||
break;
|
||||
}
|
||||
if (cached && cachedKey && cachedKey !== writeKey && !usageDiskCache[writeKey]) {
|
||||
if (
|
||||
cached &&
|
||||
cachedKey &&
|
||||
cachedKey !== writeKey &&
|
||||
!usageDiskCache[writeKey]
|
||||
) {
|
||||
usageDiskCache[writeKey] = { ...cached };
|
||||
cached = usageDiskCache[writeKey];
|
||||
saveUsageDiskCache();
|
||||
|
||||
Reference in New Issue
Block a user