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
Use path separator for git path in transport resources (#133228)
When looking up files from main in transport resources, the system
dependent path is used. However, the beginning slash also needs to be
system dependent.
Copy file name to clipboardExpand all lines: build-tools-internal/src/integTest/groovy/org/elasticsearch/gradle/internal/transport/TransportVersionValidationFuncTest.groovy
+6-6Lines changed: 6 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -204,18 +204,18 @@ class TransportVersionValidationFuncTest extends AbstractTransportVersionFuncTes
Copy file name to clipboardExpand all lines: build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/transport/TransportVersionResourcesService.java
+3-1Lines changed: 3 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -16,6 +16,7 @@
16
16
importorg.gradle.process.ExecResult;
17
17
18
18
importjava.io.ByteArrayOutputStream;
19
+
importjava.io.File;
19
20
importjava.io.IOException;
20
21
importjava.nio.charset.StandardCharsets;
21
22
importjava.nio.file.Files;
@@ -199,7 +200,8 @@ private <T> T getMainFile(String resourcePath, BiFunction<String, String, T> par
199
200
if (getMainResources().contains(resourcePath) == false) {
0 commit comments