Skip to content

Version 3.13.5 seems to break when using config file #369

@isuftin

Description

@isuftin

With version 3.13.5, I am unable to get the utility to properly check links.

markdown-link-check-config.json:

{
  "ignorePatterns": [
    {
      "pattern": "^https://my-repo.com/docker/markdown-link-check/compare/(.*)"
    },
    {
      "pattern": "^https://my-repo.com/docker/markdown-link-check/commit/(.*)"
    }
  ]
}

README2.md:

# Markdown Link Check

[[_TOC_]]

## Purpose

I'm a simple [document][mlc_usage]

[mlc_usage]: https://github.com/tcort/markdown-link-check#usage

Example run:

/data $ markdown-link-check --config markdown-link-check-config.json  --verbose  README2.md

FILE: README2.md
/data $ echo $?
1
/data $ markdown-link-check  --verbose  README2.md

FILE: README2.md
  [✓] https://github.com/tcort/markdown-link-check#usage → Status: 200

  1 links checked.
/data $ echo $?
0
/data $

This seems to be a regression from 3.12.x

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions