mirror of
https://github.com/openclaw/openclaw.git
synced 2026-02-19 18:39:20 -05:00
style(cli): satisfy lint rules in extension path resolver
This commit is contained in:
committed by
Peter Steinberger
parent
44bbe09bee
commit
34e78a7054
@@ -27,9 +27,11 @@ function bundledExtensionRootDir() {
|
||||
path.resolve(here, "../../assets/chrome-extension"),
|
||||
];
|
||||
for (const candidate of candidates) {
|
||||
if (hasManifest(candidate)) return candidate;
|
||||
if (hasManifest(candidate)) {
|
||||
return candidate;
|
||||
}
|
||||
}
|
||||
return candidates[0]!;
|
||||
return candidates[0];
|
||||
}
|
||||
|
||||
function installedExtensionRootDir() {
|
||||
|
||||
Reference in New Issue
Block a user