Fix passing hhvm version as rake argument

This commit is contained in:
Eugen Wissner 2023-05-07 00:07:58 +02:00
parent 6f5eaf9650
commit bae3b8e90e
Signed by: belka
GPG Key ID: A27FDC1E8EE902C0
2 changed files with 3 additions and 3 deletions

View File

@ -4,7 +4,7 @@ GEM
ast (2.4.2) ast (2.4.2)
json (2.6.3) json (2.6.3)
parallel (1.23.0) parallel (1.23.0)
parser (3.2.2.0) parser (3.2.2.1)
ast (~> 2.4.1) ast (~> 2.4.1)
progressbar (1.13.0) progressbar (1.13.0)
rainbow (3.1.1) rainbow (3.1.1)
@ -21,7 +21,7 @@ GEM
rubocop-ast (>= 1.28.0, < 2.0) rubocop-ast (>= 1.28.0, < 2.0)
ruby-progressbar (~> 1.7) ruby-progressbar (~> 1.7)
unicode-display_width (>= 2.4.0, < 3.0) unicode-display_width (>= 2.4.0, < 3.0)
rubocop-ast (1.28.0) rubocop-ast (1.28.1)
parser (>= 3.2.1.0) parser (>= 3.2.1.0)
ruby-progressbar (1.13.0) ruby-progressbar (1.13.0)
sync (0.5.0) sync (0.5.0)

View File

@ -58,7 +58,7 @@ task 'universal-ctags', [:version] do |_, arguments|
commit 'development/universal-ctags', arguments[:version] commit 'development/universal-ctags', arguments[:version]
end end
task :hhvm do task :hhvm, [:version] do |_, arguments|
raise 'Version is not specified.' unless arguments.key? :version raise 'Version is not specified.' unless arguments.key? :version
checksum = {} checksum = {}