We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fdaa858 commit cf2ac8dCopy full SHA for cf2ac8d
renamify-mcp/src/index.ts
@@ -213,7 +213,11 @@ export async function main() {
213
214
// Only run main if this file is executed directly
215
import { pathToFileURL } from 'node:url';
216
-if (process.argv[1] && import.meta.url === pathToFileURL(process.argv[1]).href) {
+
217
+if (
218
+ process.argv[1] &&
219
+ import.meta.url === pathToFileURL(process.argv[1]).href
220
+) {
221
main().catch((error) => {
222
// Fatal errors need to be reported before exit
223
process.stderr.write(`Fatal error: ${error}\n`);
0 commit comments