language/haskell: wrap options in parens
Fixes: language/haskell.rb:65: warning: `*' interpreted as argument prefix
This commit is contained in:
parent
abd4c699d1
commit
fff140cb9d
@ -62,7 +62,7 @@ module Language
|
|||||||
options = if args[-1].kind_of?(Hash) then args.pop else {} end
|
options = if args[-1].kind_of?(Hash) then args.pop else {} end
|
||||||
|
|
||||||
cabal_sandbox do
|
cabal_sandbox do
|
||||||
cabal_install_tools *options[:using] if options[:using]
|
cabal_install_tools(*options[:using]) if options[:using]
|
||||||
|
|
||||||
# install dependencies in the sandbox
|
# install dependencies in the sandbox
|
||||||
cabal_install "--only-dependencies", *args
|
cabal_install "--only-dependencies", *args
|
||||||
|
Loading…
x
Reference in New Issue
Block a user