Closed NielsKSchjoedt closed 9 years ago
I think it should be next
rather than return
?
changed_ruby_files.each do |file|
next if not File.readable?(file)
if file =~ /\.erb\z/
next if skip_erb_files
# Set trim mode to "-", just as Rails does
cmd = [["erb", "-xT -", file].shelljoin, " | ", [compiler_ruby, "-wc"].shelljoin].join
else
cmd = [compiler_ruby, "-wc", file].shelljoin
end
This should hopefully be fixed now thanks to @bauruine
With the latest I get: