bazel-java-sdk icon indicating copy to clipboard operation
bazel-java-sdk copied to clipboard

Migrate raw Windows detection code to use the OSDetectionStrategy abstraction

Open plaird opened this issue 4 years ago • 0 comments
trafficstars

In BazelPathHelper and a few other locations we have code checking if we are running on Windows:

But this isn't good. We have an abstraction for that, to allow us to test on other platforms (ie. Windows) without running that platform.

Change the BazelPathHelper and other offenders to use the abstraction.

plaird avatar Jun 29 '21 05:06 plaird