Skip to content

Commit 2989e33

Browse files
committed
Address Copilot review
Signed-off-by: Dan Barr <6922515+danbarr@users.noreply.github.com>
1 parent bd5da47 commit 2989e33

1 file changed

Lines changed: 2 additions & 6 deletions

File tree

scripts/bundle-upstream-schema.mjs

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -81,20 +81,16 @@ async function main() {
8181
mcpServerUrl
8282
);
8383
writeFileSync(REGISTRY_SCHEMA, JSON.stringify(simplifiedSchema, null, 2));
84-
echo('Upstream registry schema processed successfully');
84+
console.log('Upstream registry schema processed successfully');
8585

8686
// Fetch and dereference the MCP server schema
8787
const mcpServerSchema = await $RefParser.dereference(mcpServerUrl);
8888
writeFileSync(MCP_SERVER_SCHEMA, JSON.stringify(mcpServerSchema, null, 2));
89-
echo('MCP server schema fetched successfully');
89+
console.log('MCP server schema fetched successfully');
9090
} catch (error) {
9191
console.error('Failed to process schemas:', error.message);
9292
process.exit(1);
9393
}
9494
}
9595

96-
function echo(msg) {
97-
console.log(msg);
98-
}
99-
10096
main();

0 commit comments

Comments
 (0)