refactor: Update condition to use 'useTrailingComma' setting instead of 'addTrailingComma'
This commit is contained in:
@@ -101,7 +101,7 @@ export function formatPromptText(text) {
|
||||
let formattedLine = cleanedTags.join(', ');
|
||||
|
||||
// Add a trailing comma and space if the setting is enabled and line contains valid tags
|
||||
if (formattedLine.length > 0 && settingValues.addTrailingComma) {
|
||||
if (formattedLine.length > 0 && settingValues.useTrailingComma) {
|
||||
formattedLine += ', ';
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user