Skip to content

Commit 64a36c5

Browse files
committed
Merge db0b3f2 into 3.8.4
Signed-off-by: Dariusz Jędrzejczyk <[email protected]>
2 parents d4c2769 + db0b3f2 commit 64a36c5

1 file changed

Lines changed: 2 additions & 5 deletions

File tree

docs/build.gradle

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,10 @@ plugins {
2020
}
2121

2222
def isCommandAvailable(String command) {
23-
def result = exec {
23+
return providers.exec {
2424
commandLine 'which', command
2525
ignoreExitValue true
26-
standardOutput = new ByteArrayOutputStream()
27-
errorOutput = new ByteArrayOutputStream()
28-
}
29-
return result.exitValue == 0
26+
}.result.get().exitValue == 0
3027
}
3128

3229
antora {

0 commit comments

Comments
 (0)