Skip to content

Commit e3dcf83

Browse files
gagikhimanshusinghs
andcommitted
Update src/index.ts
Co-authored-by: Himanshu Singh <himanshu.singhs@outlook.in>
1 parent da4bb95 commit e3dcf83

File tree

1 file changed

+4
-8
lines changed

1 file changed

+4
-8
lines changed

src/index.ts

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -58,18 +58,14 @@ async function main(): Promise<void> {
5858
});
5959

6060
if (!config || (error && error.length)) {
61-
console.error(`
62-
${error}
63-
- Refer to https://www.mongodb.com/docs/mcp-server/get-started/ for setting up the MCP Server.
64-
`);
61+
console.error(`${error}
62+
- Refer to https://www.mongodb.com/docs/mcp-server/get-started/ for setting up the MCP Server.`);
6563
process.exit(1);
6664
}
6765

6866
if (warnings && warnings.length) {
69-
console.warn(`
70-
${warnings.join("\n")}
71-
- Refer to https://www.mongodb.com/docs/mcp-server/get-started/ for setting up the MCP Server.
72-
`);
67+
console.warn(`${warnings.join("\n")}
68+
- Refer to https://www.mongodb.com/docs/mcp-server/get-started/ for setting up the MCP Server.`);
7369
}
7470

7571
if (config.help) {

0 commit comments

Comments
 (0)