MCPcopy Create free account
hub / github.com/codeaashu/claude-code / loadList

Function loadList

src/commands/plugin/PluginSettings.tsx:40–54  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

38 if ($[0] !== onComplete) {
39 t1 = () => {
40 const loadList = async function loadList() {
41 ;
42 try {
43 const config = await loadKnownMarketplacesConfig();
44 const names = Object.keys(config);
45 if (names.length === 0) {
46 onComplete("No marketplaces configured");
47 } else {
48 onComplete(`Configured marketplaces:\n${names.map(_temp).join("\n")}`);
49 }
50 } catch (t3) {
51 const err = t3;
52 onComplete(`Error loading marketplaces: ${errorMessage(err)}`);
53 }
54 };
55 loadList();
56 };
57 t2 = [onComplete];

Callers 1

MarketplaceListFunction · 0.85

Calls 3

keysMethod · 0.80
errorMessageFunction · 0.50

Tested by

no test coverage detected