DescriptionCorrect --persistent_worker arg constraint check
Previously the args were normalized to change an arg with `=` into
separate args. That normalization was removed in
https://github.com/dart-lang/sdk/commit/e321439470ec016e9532afe57b7f2891c0282d83
This fixes an issue with using the analyzer in worker mode on the
current SDK.
- Allow the case where there are 3 args and one of them starts with
--dart-sdk rather than require it to be the entire string
- Split into two bools with more descriptive names and refactor from an
if/else chain into a composed condition
R=jakemac@google.com
Committed: https://github.com/dart-lang/sdk/commit/56ad714d6b179839f1ced976bd5d5500f814a482
Patch Set 1 #
Messages
Total messages: 5 (2 generated)
|