Fixed formatting issue with OS version number in Java.
This commit is contained in:
parent
11bae1fde0
commit
33ea36ca46
|
@ -30,7 +30,7 @@ module Google
|
|||
require 'java'
|
||||
name = java.lang.System.getProperty('os.name')
|
||||
version = java.lang.System.getProperty('os.version')
|
||||
"#{name} #{version}"
|
||||
"#{name}/#{version}"
|
||||
else
|
||||
`uname -sr`.sub(' ', '/')
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue