#16 - Hardcoded length value

This commit is contained in:
Elio Struyf
2020-08-24 12:01:35 +02:00
parent 0d14ef8a37
commit db58a153ea
+1 -1
View File
@@ -18,7 +18,7 @@ export class SeoHelper {
const diagnostic: vscode.Diagnostic = {
code: '',
message: `Article ${fieldName} is longer than ${length} characters (current length: ${value.length}). For SEO reasons, it would be better to make it less than 60 characters.`,
message: `Article ${fieldName} is longer than ${length} characters (current length: ${value.length}). For SEO reasons, it would be better to make it less than ${length} characters.`,
range: new vscode.Range(posStart, posEnd),
severity: vscode.DiagnosticSeverity.Warning,
source: 'Front Matter'