mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-06 13:40:44 +00:00
fix: discover source-only plugins in checkouts
This commit is contained in:
@@ -316,9 +316,7 @@ function resolveStatus({ dirName, packageJson, excludedDirs }) {
|
||||
const hasInstallSpec =
|
||||
typeof packageJson.openclaw?.install?.clawhubSpec === "string" ||
|
||||
typeof packageJson.openclaw?.install?.npmSpec === "string";
|
||||
const excluded =
|
||||
excludedDirs.has(dirName) || packageJson.openclaw?.bundle?.includeInCore === false;
|
||||
if (!excluded) {
|
||||
if (!excludedDirs.has(dirName)) {
|
||||
return "core";
|
||||
}
|
||||
if (release?.publishToClawHub === true || release?.publishToNpm === true || hasInstallSpec) {
|
||||
|
||||
Reference in New Issue
Block a user