You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[dartdev] "dart language-server": Only skip --protocol=lsp if the --protocol flag is passed
... and not just any flag starting with "protocol".
I believe the original code used `startsWith()` to try and catch both `--protocol` as its own flag, and `--protocol=` when combined with the value. However, it also caught `--protocol-traffic-log`. `wasParsed()` should handle both of the first cases without the latter.
I also unskipped the tests for Windows because the skip was added in 44cee12 (Jan 2021) because the `deleteDirectory()` call failed on Windows (file locking) but f40b06a (Jan 2022) already fixed that.
Fixes#52501
Change-Id: I931a3f12dca2683167e999e7fe59bed18159eb73
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/441780
Auto-Submit: Danny Tuppeny <[email protected]>
Reviewed-by: Brian Wilkerson <[email protected]>
Reviewed-by: Ben Konyi <[email protected]>
0 commit comments