Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lint Staged is not taking the process arguments #19

Open
theprantadutta opened this issue Dec 26, 2024 · 0 comments
Open

Lint Staged is not taking the process arguments #19

theprantadutta opened this issue Dec 26, 2024 · 0 comments

Comments

@theprantadutta
Copy link

From the docs,
--processes [int] limit the maximum processes can run at the same time.
but when I run this with
dart run lint_staged --process 1
this throws the following error
Unhandled exception:
FormatException: Could not find an option named "--processes".
#0 Parser._validate (package:args/src/parser.dart:324:7)
#1 Parser._handleLongOption (package:args/src/parser.dart:310:7)
#2 Parser._parseLongOption (package:args/src/parser.dart:271:12)
#3 Parser.parse (package:args/src/parser.dart:91:11)
#4 ArgParser.parse (package:args/src/arg_parser.dart:334:42)
#5 main (file:///C:/Users/prant/AppData/Local/Pub/Cache/hosted/pub.dev/lint_staged-0.5.1/bin/lint_staged.dart:20:32)
#6 _delayEntrypointInvocation. (dart:isolate-patch/isolate_patch.dart:295:33)
#7 _RawReceivePort._handleMessage (dart:isolate-patch/isolate_patch.dart:184:12)
how can I actually limit the process here?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant