mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-04 03:20:23 +00:00
refactor: share webhook channel status helpers
This commit is contained in:
@@ -48,7 +48,7 @@ function listExtensionFiles(): {
|
||||
continue;
|
||||
}
|
||||
const source = readFileSync(channelPath, "utf8");
|
||||
if (source.includes("outbound:")) {
|
||||
if (/\boutbound\s*:\s*\{/.test(source)) {
|
||||
inlineChannelEntrypoints.push(toPosix(path.join("extensions", entry.name, "src/channel.ts")));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user