Skip to content

Commit

Permalink
Context: add missing whitespace in context template
Browse files Browse the repository at this point in the history
  • Loading branch information
abeatrix committed Mar 18, 2024
1 parent 07cb88a commit b26ce30
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/shared/src/prompt/templates.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ export function populateCodeContextTemplate(
: 'Codebase context from file {filePath}{inRepo}:\n```{languageID}\n{text}```'

return template
.replace('{inRepo}', `in repository ${repoName}`)
.replace('{inRepo}', ` in repository ${repoName}`)
.replace('{filePath}', displayPath(fileUri))
.replace('{languageID}', markdownCodeBlockLanguageIDForFilename(fileUri))
.replace('{text}', code)
Expand Down

0 comments on commit b26ce30

Please sign in to comment.