Skip to content

Commit 5232254

Browse files
add comment back
1 parent 792d922 commit 5232254

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/registry/domain/plugins-initialiser.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,8 @@ export async function init(
9696
pluginCallback(err);
9797
throw err;
9898
});
99+
// Overriding toString so implementation details of plugins do not
100+
// leak to OC consumers
99101
plugin.register.execute.toString = () => plugin.description || '';
100102
registered[plugin.name] = plugin.register.execute;
101103
pluginCallback();

0 commit comments

Comments
 (0)