Statac

Problems explained

Missing name

error An error stops the build: nothing is published until it is fixed.

statac explain was given no name. It explains one kind of problem at a time, by its name.

What you’ll see

error  Missing name: `statac explain` needs the name of a problem
  The name is the last part of a problem's `More:` link.
  More: https://statac.dev/e/missing-name/

In the terminal the message also names the file and line where there is one, and marks the exact text.

Why Statac stops

Without a name, there is nothing to explain.

How to fix it

Give the problem’s name after statac explain. Every problem’s name is the last part of its More: link.

Example

statac explain

For a problem whose link ends /e/broken-link:

statac explain broken-link

Its name

Namemissing-name
In the terminalstatac explain missing-name
To stop showing itIt stops the build, so it can't be quietened.

Something unclear or wrong? Open an issue on GitHub.