Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Case error message is misleading. #80

Open
GinoCanessa opened this issue Jul 28, 2022 · 1 comment
Open

Case error message is misleading. #80

GinoCanessa opened this issue Jul 28, 2022 · 1 comment
Labels
Approved Vetted and approved by IG tooling project

Comments

@GinoCanessa
Copy link
Contributor

When Kindling detects a casing error in an HTML link, the error message reads inverted unless you understand the internals, e.g.:

ERROR @ OperationOutcome.html: Case Error: found operationoutcome.html looking for OperationOutcome.html in search.html (src = Publisher)
had me changing all of my links to 'OperationOutcome.html' instead of the required 'operationoutcome.html'.

Suggest changing the message to make it clearer which casing is correct and which is incorrect. E.g.:

ERROR @ OperationOutcome.html: Case Error: found OperationOutcome.html in search.html, file is operationoutcome.html in build (src = Publisher)

@lmckenzi
Copy link
Contributor

lmckenzi commented Sep 6, 2022

Agreed to change to:
ERROR @ OperationOutcome.html: Case Error: found link to OperationOutcome.html in search.html, however file being referenced is actually operationoutcome.html in build (src = Publisher)

@lmckenzi lmckenzi added the Approved Vetted and approved by IG tooling project label Sep 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Approved Vetted and approved by IG tooling project
Projects
None yet
Development

No branches or pull requests

2 participants