Skip to content

An input pattern isn't valid

error: the input "src/[" at line 2, column 11 of axle.toml isn't a valid pattern: unclosed character class; missing ']'
hint: Write the pattern as a glob, such as src/** or !**/*.test.ts.

A pattern under a task’s inputs, a set in [inputs] or globalInputs in axle.toml can’t be read as a glob, for example because a [ or { is never closed. An entry that isn’t the name of a set counts as a pattern.

Fix the pattern at that line and column. Patterns are relative to the package’s folder, or to the repository root after {root}/, and a ! in front leaves files out. The glob patterns page shows what each symbol means, and inputs the other entries inputs can hold.