Skip to content

Commit ddae5c0

Browse files
authored
Add additional debugging info to linter error message (#55748)
1 parent c510e6d commit ddae5c0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/content-linter/lib/linting-rules/liquid-data-tags.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ export const liquidDataReferencesDefined = {
4040
addError(
4141
onError,
4242
lineNumber,
43-
`The Liquid data reference {% ${token.content} %} is used in content but either does not exist or has no value.`,
43+
`The Liquid data reference {% ${token.content} %} is used in content but cannot be found or has no value. If the file exists, check it has a '.md' extension.`,
4444
token.content,
4545
[column, length],
4646
null, // No fix available

0 commit comments

Comments
 (0)