mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-06 08:40:44 +00:00
fix(plugins): guard optional stock root cache key
This commit is contained in:
@@ -704,6 +704,9 @@ function resolveBundledPackageCacheIdentity(stockRoot?: string):
|
||||
mtimeMs: number;
|
||||
}
|
||||
| undefined {
|
||||
if (!stockRoot) {
|
||||
return undefined;
|
||||
}
|
||||
const packageRoot = resolveBundledPackageRootForCache(stockRoot);
|
||||
if (!packageRoot) {
|
||||
return undefined;
|
||||
|
||||
Reference in New Issue
Block a user