Skip to content

Commit 6017d69

Browse files
committed
tmux_is_at_least: fixed lint
1 parent e401bb6 commit 6017d69

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

scripts/helpers.sh

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -156,8 +156,10 @@ tmux_is_at_least() {
156156
return 0
157157
fi
158158

159-
local IFS=.
160-
local i tver=($tmux_version) wver=($1)
159+
local IFS=. i
160+
local -a tver wver
161+
tver=( "$tmux_version" )
162+
wver=( "$1" )
161163

162164
# fill empty fields in tver with zeros
163165
for ((i=${#tver[@]}; i<${#wver[@]}; i++)); do

0 commit comments

Comments
 (0)