Skip to content
This repository was archived by the owner on Jan 26, 2024. It is now read-only.

Commit 6e5cfda

Browse files
authored
Merge pull request #9 from dmcpl/issue8_vmfloaty_version_checking
(#8) Error in vmfloaty version checking
2 parents 84b09ff + 9d29352 commit 6e5cfda

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

vmpooler-bitbar.30s.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,11 @@ def run
2020

2121
# Check vmfloaty library version
2222
min_vmfloaty_version = '0.7.0'
23-
if Gem::Version.new(Version.get) < Gem::Version.new(min_vmfloaty_version)
23+
if Gem::Version.new(Vmfloaty::VERSION) < Gem::Version.new(min_vmfloaty_version)
2424
puts '🔥 Update vmfloaty',
2525
'---',
2626
"Please update vmfloaty to a version > #{min_vmfloaty_version}",
27-
"Current version is #{Version.get}",
27+
"Current version is #{Vmfloaty::VERSION}",
2828
'---',
2929
'Refresh... | refresh=true'
3030
exit 1

0 commit comments

Comments
 (0)