← All tasks
javascriptlint-staged/lint-staged #1791Not a task: not reproduced

--max-arg-length default handling

envgap__lint-staged__lint-staged-1791

01 / FAILURE SIGNATURE

As reported upstream

No identifying execution failure has been captured.
Not a benchmark task.
  • In a clean container the reported failure did not reproduce, or the known fix did not make the project run.

02 / ENVIRONMENT RECIPE

Base commit
7339d7d6ba6f82affcf4ca9c3c07127ffe2202c8
Manifest
package.json
Reproduce
Awaiting issue-specific recipe
Run under trace
Awaiting a meaningful runtime command

03 / ORIGINAL ISSUE TEXT

lint-staged/lint-staged #1791 · read the original issue
`--max-arg-length` is supposed to default to a platform-specific value if not specified, but it's instead being set to NaN. This has the effect of disabling lint-staged's automatic splitting of too-long command lines.

This was apparently introduced when migrating away from commander in a9585ac7ce0162c5c6c9aa88a28c11c812abedaf.

See https://github.com/lint-staged/lint-staged/compare/main...joshkel:lint-staged:max-arg-length-fix?expand=1 for a candidate fix.
Continue on GitHub ↗

04 / LABELS

Labels from the report text only; not yet run

No supported category has been assigned.

Label rules and the text that matched
[]