lib/rake/funnel/support/mono.rb in rake-funnel-0.18.0 vs lib/rake/funnel/support/mono.rb in rake-funnel-0.19.0
- old
+ new
@@ -4,12 +4,10 @@
class Mono
class << self
def invocation(executable, *args)
exe_args = ([executable] << args).flatten.compact
- if Rake::Win32.windows?
- return exe_args
- end
+ return exe_args if Rake::Win32.windows?
executable = exe_args.shift
found = Which.which(executable) || executable
exe_args.unshift('mono', found)
end