#20966 scalafix fails with ArgumentListTooLong
Issue created by
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?
pantsbuild/pants