Skip to content
Snippets Groups Projects
Commit c40dda46 authored by Peter van 't Hof's avatar Peter van 't Hof
Browse files

Remove file checking

parent 186db74d
No related branches found
No related tags found
No related merge requests found
...@@ -54,8 +54,6 @@ object Version extends Logging { ...@@ -54,8 +54,6 @@ object Version extends Logging {
if (versionCache.contains(versionCommand)) return versionCache.get(versionCommand) if (versionCache.contains(versionCommand)) return versionCache.get(versionCommand)
else if (versionCommand == null || versionRegex == null) return None else if (versionCommand == null || versionRegex == null) return None
else { else {
val exe = new File(versionCommand.trim.split(" ")(0))
if (!exe.exists()) return None
val stdout = new StringBuffer() val stdout = new StringBuffer()
val stderr = new StringBuffer() val stderr = new StringBuffer()
def outputLog = "Version command: \n" + versionCommand + def outputLog = "Version command: \n" + versionCommand +
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment