Skip to content

Commit f465c03

Browse files
authored
Taking first char after dot (#1822)
1 parent 7a23906 commit f465c03

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

NodeBase/generate_config

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,9 @@
33
function short_version() {
44
local __long_version=$1
55
local __version_split=( ${__long_version//./ } )
6-
echo "${__version_split[0]}.${__version_split[1]}"
6+
echo "${__version_split[0]}.${__version_split[1]:0:1}"
77
}
88

9-
109
if [[ -z "$CONFIG_FILE" ]]; then
1110
FILENAME="/opt/selenium/config.toml"
1211
else

0 commit comments

Comments
 (0)