Skip to content

scalafix fails with ArgumentListTooLong #20966

Open
@somdoron

Description

@somdoron

Describe the bug
I'm trying to upgrade pants from 2.14.2 to 2.21.0.rc0 and to use the new scalafix plugin.
However, scalafix fails with the following error:

Error launching process: Os { code: 7, kind: ArgumentListTooLong, message: "Argument list too long" }

Pants version
2.21.0.rc0
OS
Linux

Additional info
From the stacktrace it seems the number of arguments to scalafix is 54 out of which 19 are scala-options arguments and 31 files arguments. I think both should be easy to merge into one argument separated by comma?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions