lib/tasks/coffeescript/coffeescript_runner.rb in loris-0.2.2 vs lib/tasks/coffeescript/coffeescript_runner.rb in loris-0.2.3
- old
+ new
@@ -16,10 +16,10 @@
def execute
output = []
@coffee_dirs.each do |coffee_dir|
js_dir = coffee_dir.sub '/coffee-', '/'
- output.push `#{@binary} --output #{js_dir} --compile #{coffee_dir} 2>&1`
+ output.push `#{@binary} --output "#{js_dir}" --compile "#{coffee_dir}" 2>&1`
end
return output.join "\n"
end
\ No newline at end of file