Minor fixes

This commit is contained in:
Saoud Rizwan
2024-09-18 23:37:47 -04:00
parent b7617e5f2a
commit ccb5b9bf21
2 changed files with 4 additions and 4 deletions

View File

@@ -40,8 +40,8 @@ export async function parseMentions(text: string, cwd: string, urlScraper?: UrlS
return `'${mention}' (see below for site content)`
} else if (mention.startsWith("/")) {
return mention.endsWith("/")
? `'${mention}' (see below for folder contents)`
: `'${mention}' (see below for file contents)`
? `'${mention}' (see below for folder content)`
: `'${mention}' (see below for file content)`
} else if (mention === "problems") {
return `Workspace Problems (see below for diagnostics)`
}