Skip to content

Commit f2c4978

Browse files
committed
fix(plugins): make empty tool registry return explicit
1 parent fbd11b1 commit f2c4978

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/plugins/tools.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1022,7 +1022,7 @@ export function ensureStandalonePluginToolRegistryLoaded(params: {
10221022
}): PluginRegistry | undefined {
10231023
const loadState = resolvePluginToolLoadState(params);
10241024
if (!loadState) {
1025-
return;
1025+
return undefined;
10261026
}
10271027
const registry = ensureStandaloneRuntimePluginRegistryLoaded({
10281028
surface: "channel",

0 commit comments

Comments
 (0)