Remove inline comments from code

This commit is contained in:
Lina Tawfik committed 2025-05-23 11:22:47 -07:00
1 parent c60a8fb69b
commit a29981fe38
2 files changed
+1 -4

No files matched your search

-3
View File
@@ -73,9 +73,7 @@ server.tool(
throw new Error("GITHUB_TOKEN environment variable is required");
}
// Process file paths - keep them as-is for now
const processedFiles = files.map((filePath) => {
// Remove leading slash if present to ensure relative paths
if (filePath.startsWith("/")) {
return filePath.slice(1);
}
@@ -121,7 +119,6 @@ server.tool(
// 3. Create tree entries for all files
const treeEntries = await Promise.all(
processedFiles.map(async (filePath) => {
// Construct the full path using REPO_DIR
const fullPath = filePath.startsWith('/')
? filePath
: join(REPO_DIR, filePath);