Skip to content

🪲[Bug]: Build-Docs - Complain about trailing spaces #219

@arnaudcharles

Description

@arnaudcharles

Describe the bug

During my Process-PSModule workflow, in the Build-Docs, in the Lint-Documentation step I got this error :

MARKDOWN
  2025-10-04 17:26:56 [INFO]   Linting MARKDOWN items...
  Error: -04 17:26:57 [ERROR]   Found errors when linting MARKDOWN. Exit code: 1.
  2025-10-04 17:26:57 [INFO]   Stderr contents for MARKDOWN:
  ------
  /github/workspace/outputs/docs/Start-PSBite.md:133:6 MD009/no-trailing-spaces Trailing spaces [Expected: 0 or 2; Actual: 1]
  ------

I checked my Start-PSBite file and I'm sure this one is clean and without trailing spaces. I have both extension ins VSCode to highlight them + used the build in trailling space removal.
I don't know what the error is meaning.

Version information

In the Github Action

To reproduce

I don't know if it's related to my setup or general issue.

Code snippet

NA

Relevant output

See initial description

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions