bazel-java-sdk
bazel-java-sdk copied to clipboard
Migrate raw Windows detection code to use the OSDetectionStrategy abstraction
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.