Skip to content
Snippets Groups Projects
Commit 78603a24 authored by Mike McQuaid's avatar Mike McQuaid
Browse files

language/haskell: fix Rubocop warnings.

parent 4fb691e1
No related branches found
No related tags found
No related merge requests found
......@@ -72,7 +72,7 @@ module Language
end
def install_cabal_package(*args)
options = if args[-1].kind_of?(Hash) then args.pop else {} end
options = args[-1].is_a?(Hash) ? args.pop : {}
cabal_sandbox do
cabal_install_tools(*options[:using]) if options[:using]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment