avoid NPE when docker exe expected, but not there
@@ -92,7 +92,11 @@ public class DockerDetector {
return new ExecutableNotFoundDetectorResult("bash");
}
+ try {
dockerExe = cacheableExecutableFinder.getExecutable(CacheableExecutableType.DOCKER);
+ } catch (Exception e) {
+ dockerExe = null;
+ }
if (dockerExe == null) {
if (dockerPathRequired) {
return new ExecutableNotFoundDetectorResult("docker");
