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

[#56] Dump all the errors from different files #141

Merged
merged 1 commit into from
Sep 23, 2022

Commits on Sep 23, 2022

  1. [#56] Dump all the errors from different files

    Problem: Currently, xrefcheck fails immediately after the first
    observed error because `die` is used right in `markdownScanner` What
    we want is dumping all the errors from different markdowns and then
    print them as a final xrefcheck's result together with the broken
    links. Also, despite the fact that in the `makeError` function we have
    4 error messages, 2 of them are not reported, and the test case that
    should check this only checks that at least one of the four files
    throws an error.
    
    Solution: Make xrefcheck to report all errors. Add `ScanError` type
    and propagate errors to report all of them, rather than failing
    immediately after the first error is detected.
    Sereja313 committed Sep 23, 2022
    Configuration menu
    Copy the full SHA
    c8d19a3 View commit details
    Browse the repository at this point in the history