Fix string quotes in promptClients.ts#755
Merged
hassiebp merged 1 commit intolangfuse:mainfrom Mar 23, 2026
Merged
Conversation
Fix lint errors
|
@budde377 is attempting to deploy a commit to the langfuse Team on Vercel. A member of the Team first needs to authorize it. |
Contributor
|
Thanks a lot for your contribution! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fix lint errors
Problem
Changes
Release info Sub-libraries affected
Bump level
Libraries affected
Changelog notes
Disclaimer: Experimental PR review
Greptile Summary
This PR makes a trivial one-character lint fix in
promptClients.ts, replacing single quotes with double quotes in atypeof item.content === "string"comparison to match the surrounding code style. No logic is changed.'string'→"string"on line 383 to comply with the project's double-quote linting rule.Confidence Score: 5/5
typeofcomparison). There is zero risk of runtime regressions.Important Files Changed
typeofstring comparison (line 383) to match the rest of the file's quoting style.Flowchart
%%{init: {'theme': 'neutral'}}%% flowchart TD A["messagesWithPlaceholdersReplaced.map(item)"] --> B{typeof item === object AND item !== null AND role in item AND content in item AND typeof item.content === string} B -- true --> C["Return item with content rendered via mustache.render"] B -- false --> D["Return item as-is (placeholder or stringified value)"]Last reviewed commit: "Fix string quotes in..."
(3/5) Reply to the agent's comments like "Can you suggest a fix for this @greptileai?" or ask follow-up questions!